Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo", uses=false) Using package PhotoVoltaics_TGM with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Running command: "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160808",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160808",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02866/0.02866, allocations: 5.383 MB / 20.34 MB, free: 1.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008604/0.0008602, allocations: 106.7 kB / 22.32 MB, free: 0.6094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 185.2 kB / 24.39 MB, free: 1.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 223.2 MB / 249.5 MB, free: 13.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.007923/0.007923, allocations: 2.314 MB / 304.1 MB, free: 4.543 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004051/0.0004052, allocations: 12 kB / 368.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09629/0.09671, allocations: 52.2 MB / 420.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.006563/0.1033, allocations: 5.641 MB / 426.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1858/0.2891, allocations: 3.622 MB / 429.7 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006005/0.2897, allocations: 19.56 kB / 429.7 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000911/0.2907, allocations: 368.2 kB / 430.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.2921, allocations: 0.741 MB / 430.8 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009082/0.293, allocations: 415.2 kB / 431.2 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009375/0.294, allocations: 0.8807 MB / 432.1 MB, free: 35.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001664/0.2957, allocations: 1.23 MB / 433.3 MB, free: 34.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004699/0.2961, allocations: 444.7 kB / 433.8 MB, free: 34.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005546/0.2967, allocations: 0.5372 MB / 434.3 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.878e-05/0.2968, allocations: 59.62 kB / 434.4 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006056/0.2974, allocations: 288.3 kB / 434.6 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.2976, allocations: 210.9 kB / 434.8 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.2978, allocations: 231.3 kB / 435.1 MB, free: 34.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.2988, allocations: 1.325 MB / 436.4 MB, free: 34.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.2988, allocations: 0 / 436.4 MB, free: 34.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2988, allocations: 1.312 kB / 436.4 MB, free: 34.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.2988, allocations: 1.812 kB / 436.4 MB, free: 34.49 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.003154/0.302, allocations: 1.586 MB / 438 MB, free: 33.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.302, allocations: 13.44 kB / 438 MB, free: 33.65 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001571/0.3022, allocations: 167 kB / 438.2 MB, free: 33.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00187/0.3041, allocations: 379.2 kB / 438.5 MB, free: 33.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.3056, allocations: 0.7959 MB / 439.3 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.634e-05/0.3056, allocations: 84.44 kB / 439.4 MB, free: 33.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.3058, allocations: 106.8 kB / 439.5 MB, free: 33.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.3074, allocations: 1.16 MB / 440.7 MB, free: 33.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.381e-05/0.3075, allocations: 4.844 kB / 440.7 MB, free: 33.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.709e-05/0.3076, allocations: 45.72 kB / 440.7 MB, free: 33.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.3076, allocations: 28.78 kB / 440.7 MB, free: 33.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.3093, allocations: 1.07 MB / 441.8 MB, free: 33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004957/0.3142, allocations: 4.387 MB / 446.2 MB, free: 31.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00218/0.3164, allocations: 1.756 MB / 448 MB, free: 30.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.287e-05/0.3165, allocations: 99.48 kB / 448.1 MB, free: 29.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007418/0.3173, allocations: 464 kB / 448.5 MB, free: 29.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.575e-06/0.3173, allocations: 0 / 448.5 MB, free: 29.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.005337/0.3226, allocations: 1.71 MB / 450.2 MB, free: 29.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.3227, allocations: 225 kB / 450.4 MB, free: 29.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007594/0.3235, allocations: 0.6449 MB / 451.1 MB, free: 28.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.214e-05/0.3236, allocations: 47.42 kB / 451.1 MB, free: 28.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/0.3239, allocations: 0.5147 MB / 451.6 MB, free: 28.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.324, allocations: 236 kB / 451.9 MB, free: 28.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.3241, allocations: 18.62 kB / 451.9 MB, free: 28.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3242, allocations: 395.6 kB / 452.3 MB, free: 28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005519/0.3247, allocations: 295.1 kB / 452.6 MB, free: 27.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006378/0.3254, allocations: 0.53 MB / 453.1 MB, free: 27.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006491/0.326, allocations: 426.8 kB / 453.5 MB, free: 27.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3261, allocations: 0 / 453.5 MB, free: 27.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001843/0.3279, allocations: 1.116 MB / 454.6 MB, free: 26.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.328, allocations: 63.98 kB / 454.7 MB, free: 26.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.328, allocations: 9.312 kB / 454.7 MB, free: 26.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004229/0.3284, allocations: 86.88 kB / 454.8 MB, free: 26.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000791/0.3292, allocations: 220.4 kB / 455 MB, free: 26.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.3304, allocations: 1.49 MB / 456.5 MB, free: 25.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007108/0.3311, allocations: 108.4 kB / 456.6 MB, free: 25.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-05/0.3312, allocations: 48.08 kB / 456.6 MB, free: 25.17 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 115 * 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.0004643/0.3316, allocations: 345.2 kB / 457 MB, free: 24.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.3317, allocations: 76.88 kB / 457.1 MB, free: 24.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/0.3335, allocations: 1.018 MB / 458.1 MB, free: 24.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.3335, allocations: 10.67 kB / 458.1 MB, free: 24.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3336, allocations: 3.953 kB / 458.1 MB, free: 24.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.3336, allocations: 3.328 kB / 458.1 MB, free: 24.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005232/0.3388, allocations: 2.346 MB / 460.4 MB, free: 23.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/0.3388, allocations: 0 / 460.4 MB, free: 23.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003455/0.3392, allocations: 98.98 kB / 460.5 MB, free: 23.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000732/0.3399, allocations: 340.7 kB / 460.9 MB, free: 23.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-05/0.34, allocations: 26.8 kB / 460.9 MB, free: 23.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.3411, allocations: 0.9073 MB / 461.8 MB, free: 22.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3411, allocations: 3.094 kB / 461.8 MB, free: 22.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002205/0.3433, allocations: 1.431 MB / 463.2 MB, free: 21.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002886/0.3436, allocations: 229 kB / 463.5 MB, free: 21.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.3437, allocations: 21.5 kB / 463.5 MB, free: 21.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005242/0.3442, allocations: 59.11 kB / 463.5 MB, free: 21.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.414e-05/0.3443, allocations: 46.84 kB / 463.6 MB, free: 21.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.427e-05/0.3444, allocations: 28.88 kB / 463.6 MB, free: 21.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004581/0.3448, allocations: 453.3 kB / 464.1 MB, free: 21.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3449, allocations: 3.938 kB / 464.1 MB, free: 21.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008695/0.3457, allocations: 322.5 kB / 464.4 MB, free: 21.36 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (voltageSource.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003512/0.3493, allocations: 2.684 MB / 467.1 MB, free: 19.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.3508, allocations: 0.9918 MB / 468.1 MB, free: 19.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3508, allocations: 3.938 kB / 468.1 MB, free: 19.37 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006915/0.3515, allocations: 0.493 MB / 468.5 MB, free: 19.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006056/0.3521, allocations: 123.3 kB / 468.7 MB, free: 19.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003747/0.3559, allocations: 7.605 MB / 476.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005663/0.3565, allocations: 1.039 MB / 477.3 MB, free: 27.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004507/0.3569, allocations: 132.9 kB / 477.4 MB, free: 27.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004087/0.3574, allocations: 400.6 kB / 477.8 MB, free: 27.3 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3574, allocations: 4 kB / 477.8 MB, free: 27.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03957/0.3969, allocations: 18.54 MB / 496.4 MB, free: 22.66 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/0.3971, allocations: 262.7 kB / 496.6 MB, free: 22.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.31/2.707, allocations: 3.938 kB / 496.6 MB, free: 22.32 MB / 366.1 MB (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160808_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160808.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe 2>&1) Environment - environmentSimulation: