Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.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: translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02547/0.02547, allocations: 5.39 MB / 21.56 MB, free: 1.129 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.001068/0.001068, allocations: 107.2 kB / 23.55 MB, free: 0.9062 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.001207/0.001207, allocations: 199.5 kB / 25.68 MB, free: 4.809 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 250.5 MB, free: 8.535 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.0119/0.0119, allocations: 2.321 MB / 304.2 MB, free: 6.551 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002137, allocations: 91.86 kB / 367.8 MB, free: 6.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2061, allocations: 51.22 MB / 419 MB, free: 26.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.006959/0.2131, allocations: 6.833 MB / 425.9 MB, free: 19.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00533/0.2184, allocations: 3.939 MB / 429.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008839/0.2194, allocations: 23.94 kB / 429.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002597/0.222, allocations: 1.158 MB / 431 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002027/0.224, allocations: 0.8506 MB / 431.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001749/0.2258, allocations: 0.5589 MB / 432.4 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001595/0.2274, allocations: 1.389 MB / 433.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001468/0.2289, allocations: 1.032 MB / 434.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007032/0.2296, allocations: 0.5526 MB / 435.4 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008412/0.2305, allocations: 0.6848 MB / 436.1 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002836/0.2308, allocations: 148 kB / 436.2 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009891/0.2318, allocations: 435.7 kB / 436.6 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002637/0.232, allocations: 314.9 kB / 436.9 MB, free: 8.426 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000701/0.2327, allocations: 0.6413 MB / 437.6 MB, free: 7.781 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001807/0.2346, allocations: 1.768 MB / 439.4 MB, free: 6.008 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.2346, allocations: 7.875 kB / 439.4 MB, free: 6 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2346, allocations: 0 / 439.4 MB, free: 6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.005e-05/0.2346, allocations: 0 / 439.4 MB, free: 6 MB / 302.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.004167/0.2388, allocations: 1.812 MB / 441.2 MB, free: 4.121 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.2389, allocations: 12.02 kB / 441.2 MB, free: 4.109 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00217/0.241, allocations: 375.1 kB / 441.6 MB, free: 3.742 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001681/0.2427, allocations: 0.8204 MB / 442.4 MB, free: 2.875 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.711e-05/0.2428, allocations: 82.08 kB / 442.5 MB, free: 2.793 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.243, allocations: 108 kB / 442.6 MB, free: 2.688 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.2449, allocations: 1.173 MB / 443.7 MB, free: 1.453 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.197e-05/0.2449, allocations: 0 / 443.7 MB, free: 1.453 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.704e-05/0.245, allocations: 44 kB / 443.8 MB, free: 1.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.245, allocations: 24 kB / 443.8 MB, free: 1.387 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.2469, allocations: 1.072 MB / 444.9 MB, free: 328 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006636/0.2536, allocations: 4.392 MB / 449.3 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002743/0.2563, allocations: 1.736 MB / 451 MB, free: 9.777 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007046/0.2571, allocations: 323.8 kB / 451.3 MB, free: 9.457 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.2572, allocations: 93.66 kB / 451.4 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008599/0.2581, allocations: 469.6 kB / 451.9 MB, free: 8.859 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.454e-06/0.2581, allocations: 4 kB / 451.9 MB, free: 8.855 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.006245/0.2643, allocations: 1.592 MB / 453.5 MB, free: 7.223 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001612/0.2645, allocations: 222.2 kB / 453.7 MB, free: 6.957 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.2657, allocations: 0.6525 MB / 454.3 MB, free: 6.297 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.006e-05/0.2657, allocations: 37.7 kB / 454.4 MB, free: 6.254 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004833/0.2662, allocations: 0.5141 MB / 454.9 MB, free: 5.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002467/0.2665, allocations: 240.7 kB / 455.1 MB, free: 5.492 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003171/0.2668, allocations: 190.5 kB / 455.3 MB, free: 5.301 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.267, allocations: 386.7 kB / 455.7 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007358/0.2678, allocations: 297.8 kB / 456 MB, free: 4.621 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008835/0.2686, allocations: 0.5309 MB / 456.5 MB, free: 3.988 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.2702, allocations: 0.936 MB / 457.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.2702, allocations: 4 kB / 457.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002563/0.2728, allocations: 1.117 MB / 458.6 MB, free: 1.785 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.827e-05/0.2729, allocations: 59.41 kB / 458.6 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.2729, allocations: 8 kB / 458.6 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000496/0.2734, allocations: 101 kB / 458.7 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008755/0.2743, allocations: 219.5 kB / 458.9 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/0.276, allocations: 1.582 MB / 460.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008415/0.2768, allocations: 111.2 kB / 460.6 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.934e-05/0.2769, allocations: 43.98 kB / 460.7 MB, free: 15.52 MB / 334.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 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,$PRE.combiTimeTable.nextTimeEvent,$whenCondition3,writeCSV.sampleTrigger,$whenCondition2,mpTracker.sampleTrigger,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent,mpTracker.vRef,$PRE.mpTracker.vRef,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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005117/0.2774, allocations: 339.2 kB / 461 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.2776, allocations: 87.08 kB / 461.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/0.2798, allocations: 1.007 MB / 462.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.2798, allocations: 8 kB / 462.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.2798, allocations: 0 / 462.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/0.2799, allocations: 7.984 kB / 462.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006215/0.2861, allocations: 2.306 MB / 464.4 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.2861, allocations: 0 / 464.4 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/0.2865, allocations: 99.89 kB / 464.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008552/0.2874, allocations: 334.3 kB / 464.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.749e-05/0.2874, allocations: 23.98 kB / 464.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.2888, allocations: 0.909 MB / 465.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.2888, allocations: 4.031 kB / 465.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002707/0.2915, allocations: 1.401 MB / 467.2 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003395/0.2919, allocations: 224 kB / 467.4 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.292, allocations: 27.94 kB / 467.4 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006059/0.2926, allocations: 47.97 kB / 467.5 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.87e-05/0.2928, allocations: 44.5 kB / 467.5 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.094e-05/0.2928, allocations: 31.97 kB / 467.5 MB, free: 8.406 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005913/0.2934, allocations: 451 kB / 468 MB, free: 7.969 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2934, allocations: 0 / 468 MB, free: 7.969 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009694/0.2944, allocations: 323 kB / 468.3 MB, free: 7.652 MB / 334.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001503/0.2959, allocations: 0.6686 MB / 469 MB, free: 7.223 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002217/0.2981, allocations: 1.019 MB / 470 MB, free: 6.164 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.2982, allocations: 0 / 470 MB, free: 6.164 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008714/0.299, allocations: 0.4904 MB / 470.5 MB, free: 5.648 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008351/0.2999, allocations: 146.9 kB / 470.6 MB, free: 5.508 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003095/0.303, allocations: 1.809 MB / 472.4 MB, free: 3.656 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005857/0.3036, allocations: 1.018 MB / 473.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/0.3039, allocations: 83.39 kB / 473.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3039, allocations: 0 / 473.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of Templates: time 0.02142/0.3253, allocations: 17.25 MB / 490.8 MB, free: 1.324 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe 2>&1)