Ignoring simflag -noemit -cpu=() since it seems broken on HelloWorld Running command: "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160626_to_20161004",fmuType="me",version="2.0",platforms={"static"}) Warning: Requested package Modelica of version 3.2.2, but this package was already loaded with version 3.2.3. You might experience problems if these versions are incompatible. Notification: Performance of loadModel(PhotoVoltaics_TGM): time 3.916/3.916, allocations: 451.8 MB / 464 MB, free: 8.004 MB / 378.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Warning: Requested package Modelica of version 3.2.2, but this package was already loaded with version 3.2.3. You might experience problems if these versions are incompatible. Notification: Performance of FrontEnd - loaded program: time 6.241e-05/6.249e-05, allocations: 8.422 kB / 0.5597 GB, free: 12.86 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2304, allocations: 103.7 MB / 0.6609 GB, free: 5.34 MB / 0.5417 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8344/1.065, allocations: 150.4 MB / 0.8078 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000174/1.065, allocations: 67.66 kB / 0.8078 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.1501/1.215, allocations: 36.64 MB / 0.8436 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.494e-06/1.215, allocations: 0 / 0.8436 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.4e-05/1.215, allocations: 20 kB / 0.8436 GB, free: 13.9 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.004916/1.22, allocations: 1.379 MB / 0.845 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/1.22, allocations: 12.03 kB / 0.845 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004806/1.221, allocations: 159.6 kB / 0.8451 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003361/1.224, allocations: 395.2 kB / 0.8455 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/1.226, allocations: 0.6572 MB / 0.8461 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/1.226, allocations: 90.08 kB / 0.8462 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002849/1.227, allocations: 116.7 kB / 0.8463 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003095/1.23, allocations: 1.174 MB / 0.8475 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.605e-05/1.23, allocations: 3.938 kB / 0.8475 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/1.23, allocations: 50.62 kB / 0.8475 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-05/1.23, allocations: 31.95 kB / 0.8476 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003327/1.233, allocations: 1.153 MB / 0.8487 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01143/1.245, allocations: 4.833 MB / 0.8534 GB, free: 5.801 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003582/1.248, allocations: 1.784 MB / 0.8552 GB, free: 4.086 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009786/1.249, allocations: 322 kB / 0.8555 GB, free: 3.883 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/1.25, allocations: 89.61 kB / 0.8556 GB, free: 3.781 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/1.251, allocations: 461 kB / 0.856 GB, free: 3.414 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=70): time 3.266e-06/1.251, allocations: 0 / 0.856 GB, free: 3.414 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.006741/1.257, allocations: 1.115 MB / 0.8571 GB, free: 2.488 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/1.258, allocations: 247.3 kB / 0.8573 GB, free: 2.195 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/1.259, allocations: 0.6646 MB / 0.858 GB, free: 1.699 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001771/1.259, allocations: 48.3 kB / 0.858 GB, free: 1.656 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005484/1.26, allocations: 0.5455 MB / 0.8585 GB, free: 1.23 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003101/1.26, allocations: 243.1 kB / 0.8588 GB, free: 1.023 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.378e-05/1.26, allocations: 18.25 kB / 0.8588 GB, free: 1.02 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002065/1.261, allocations: 394.7 kB / 0.8592 GB, free: 0.6602 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008504/1.261, allocations: 300.4 kB / 0.8595 GB, free: 500 kB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/1.262, allocations: 0.5749 MB / 0.86 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/1.264, allocations: 439.6 kB / 0.8604 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/1.264, allocations: 4 kB / 0.8604 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003381/1.267, allocations: 1.14 MB / 0.8616 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.216e-05/1.267, allocations: 71.09 kB / 0.8616 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/1.267, allocations: 8 kB / 0.8616 GB, free: 14.63 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009186/1.268, allocations: 96.64 kB / 0.8617 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/1.27, allocations: 234.7 kB / 0.8619 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002386/1.272, allocations: 1.563 MB / 0.8635 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/1.274, allocations: 107.5 kB / 0.8636 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/1.274, allocations: 50.91 kB / 0.8636 GB, free: 12.58 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition3,$PRE.combiTimeTable.nextTimeEvent,$whenCondition2,writeCSV.sampleTrigger,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,mpTracker.vRef,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,integrator.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003705/1.274, allocations: 235.8 kB / 0.8638 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/1.275, allocations: 95 kB / 0.8639 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007111/1.282, allocations: 1.31 MB / 0.8652 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.319e-05/1.282, allocations: 12 kB / 0.8652 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.351e-06/1.282, allocations: 0 / 0.8652 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.68e-05/1.282, allocations: 7.984 kB / 0.8652 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00547/1.287, allocations: 2.271 MB / 0.8675 GB, free: 9.457 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/1.287, allocations: 0 / 0.8675 GB, free: 9.457 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008849/1.288, allocations: 114 kB / 0.8676 GB, free: 9.352 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004339/1.293, allocations: 0.5452 MB / 0.8681 GB, free: 8.867 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001734/1.293, allocations: 30.72 kB / 0.8681 GB, free: 8.848 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/1.294, allocations: 0.857 MB / 0.869 GB, free: 8.09 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.294, allocations: 8.016 kB / 0.869 GB, free: 8.082 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003559/1.298, allocations: 1.447 MB / 0.8704 GB, free: 7.008 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000636/1.298, allocations: 271.8 kB / 0.8706 GB, free: 6.773 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/1.299, allocations: 22.38 kB / 0.8707 GB, free: 6.762 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009563/1.3, allocations: 46.22 kB / 0.8707 GB, free: 6.727 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/1.3, allocations: 43.84 kB / 0.8708 GB, free: 6.691 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/1.3, allocations: 31.34 kB / 0.8708 GB, free: 6.664 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001018/1.301, allocations: 0.5028 MB / 0.8713 GB, free: 6.305 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.61e-07/1.301, allocations: 0 / 0.8713 GB, free: 6.305 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001635/1.303, allocations: 389.7 kB / 0.8716 GB, free: 5.965 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (converter.potentialSensor.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 12 ($whenCondition3,$whenCondition1,$whenCondition2,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 12 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition2,writeCSV.sampleTrigger) * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.005724/1.308, allocations: 2.734 MB / 0.8743 GB, free: 3.793 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002597/1.311, allocations: 0.9902 MB / 0.8753 GB, free: 3 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/1.311, allocations: 0 / 0.8753 GB, free: 3 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/1.312, allocations: 0.5041 MB / 0.8758 GB, free: 2.605 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/1.313, allocations: 132.9 kB / 0.8759 GB, free: 2.512 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007916/1.321, allocations: 2.051 MB / 0.8779 GB, free: 0.6133 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008536/1.322, allocations: 1.061 MB / 0.8789 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008547/1.323, allocations: 126.4 kB / 0.8791 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009402/1.324, allocations: 419.3 kB / 0.8795 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of SimCode: time 1.142e-06/1.324, allocations: 3.938 kB / 0.8795 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0718/1.396, allocations: 21.2 MB / 0.9002 GB, free: 9.969 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002413/1.396, allocations: 232.8 kB / 0.9004 GB, free: 9.66 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.98/4.377, allocations: 0 / 0.9004 GB, free: 9.66 MB / 0.698 GB