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: translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03666/0.03666, allocations: 5.393 MB / 21.56 MB, free: 1.574 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.001313/0.001313, allocations: 110.1 kB / 23.55 MB, free: 0.8242 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.001588/0.001588, allocations: 198.7 kB / 25.67 MB, free: 4.883 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.348/1.348, allocations: 222.9 MB / 250.6 MB, free: 8.531 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009454/0.009454, allocations: 2.314 MB / 304.2 MB, free: 6.566 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.002882/0.002882, allocations: 99.84 kB / 367.8 MB, free: 6.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2091, allocations: 51.22 MB / 419.1 MB, free: 26.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.006193/0.2154, allocations: 6.837 MB / 425.9 MB, free: 19.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004741/0.2201, allocations: 3.935 MB / 429.8 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000587/0.2208, allocations: 23.94 kB / 429.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002187/0.223, allocations: 1.158 MB / 431 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001495/0.2245, allocations: 0.8545 MB / 431.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.2259, allocations: 0.5472 MB / 432.4 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009506/0.2268, allocations: 1.402 MB / 433.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.2279, allocations: 1.017 MB / 434.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004277/0.2283, allocations: 0.5487 MB / 435.4 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005872/0.2289, allocations: 0.6925 MB / 436.1 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001516/0.2291, allocations: 144 kB / 436.2 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006491/0.2298, allocations: 439.7 kB / 436.6 MB, free: 8.746 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.2299, allocations: 310.9 kB / 436.9 MB, free: 8.441 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003964/0.2304, allocations: 0.6414 MB / 437.6 MB, free: 7.797 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.2316, allocations: 1.772 MB / 439.4 MB, free: 6.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2316, allocations: 0 / 439.4 MB, free: 6.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2316, allocations: 3.938 kB / 439.4 MB, free: 6.016 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.2317, allocations: 0 / 439.4 MB, free: 6.016 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.00355/0.2352, allocations: 1.814 MB / 441.2 MB, free: 4.133 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.2353, allocations: 12.03 kB / 441.2 MB, free: 4.121 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002047/0.2373, allocations: 375.1 kB / 441.5 MB, free: 3.754 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.2388, allocations: 0.8204 MB / 442.4 MB, free: 2.887 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.535e-05/0.2389, allocations: 82.08 kB / 442.4 MB, free: 2.805 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.239, allocations: 108 kB / 442.6 MB, free: 2.699 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.2407, allocations: 1.173 MB / 443.7 MB, free: 1.465 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.993e-05/0.2408, allocations: 4 kB / 443.7 MB, free: 1.461 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.711e-05/0.2409, allocations: 44 kB / 443.8 MB, free: 1.418 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.2409, allocations: 24 kB / 443.8 MB, free: 1.395 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/0.2427, allocations: 1.07 MB / 444.9 MB, free: 336 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006064/0.2487, allocations: 4.392 MB / 449.3 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002721/0.2515, allocations: 1.74 MB / 451 MB, free: 9.781 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006941/0.2522, allocations: 323.8 kB / 451.3 MB, free: 9.461 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.203e-05/0.2523, allocations: 93.66 kB / 451.4 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008602/0.2532, allocations: 469.6 kB / 451.9 MB, free: 8.863 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.424e-06/0.2532, allocations: 4 kB / 451.9 MB, free: 8.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.006057/0.2592, allocations: 1.592 MB / 453.5 MB, free: 7.227 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.2594, allocations: 218.2 kB / 453.7 MB, free: 6.965 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008454/0.2602, allocations: 0.6525 MB / 454.3 MB, free: 6.305 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.525e-05/0.2603, allocations: 37.7 kB / 454.4 MB, free: 6.262 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003735/0.2607, allocations: 0.5219 MB / 454.9 MB, free: 5.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.2609, allocations: 232.8 kB / 455.1 MB, free: 5.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002769/0.2612, allocations: 186.5 kB / 455.3 MB, free: 5.312 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.2613, allocations: 390.7 kB / 455.7 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006711/0.262, allocations: 301.8 kB / 456 MB, free: 4.625 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008295/0.2629, allocations: 0.5309 MB / 456.5 MB, free: 3.992 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/0.2644, allocations: 0.936 MB / 457.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.024e-06/0.2644, allocations: 4 kB / 457.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002284/0.2667, allocations: 1.117 MB / 458.6 MB, free: 1.789 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.863e-05/0.2668, allocations: 61.91 kB / 458.6 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.2668, allocations: 8 kB / 458.6 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004762/0.2673, allocations: 93.06 kB / 458.7 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008727/0.2682, allocations: 219.5 kB / 458.9 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/0.2697, allocations: 1.585 MB / 460.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007398/0.2705, allocations: 107.1 kB / 460.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-05/0.2706, allocations: 52.05 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.0004514/0.271, allocations: 339.2 kB / 461 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.2712, allocations: 83.05 kB / 461.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/0.2734, allocations: 1.01 MB / 462.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.2734, allocations: 8 kB / 462.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.2734, allocations: 0 / 462.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.2734, allocations: 3.984 kB / 462.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00627/0.2797, allocations: 2.31 MB / 464.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2797, allocations: 0 / 464.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003914/0.2801, allocations: 99.83 kB / 464.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008517/0.281, allocations: 330.3 kB / 464.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.818e-05/0.281, allocations: 23.98 kB / 464.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/0.2824, allocations: 0.9051 MB / 465.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.2824, allocations: 4.031 kB / 465.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002666/0.2851, allocations: 1.405 MB / 467.2 MB, free: 8.805 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003026/0.2854, allocations: 224 kB / 467.4 MB, free: 8.566 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.2855, allocations: 19.94 kB / 467.4 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005641/0.2861, allocations: 51.95 kB / 467.5 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.812e-05/0.2862, allocations: 36.52 kB / 467.5 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.004e-05/0.2862, allocations: 39.91 kB / 467.5 MB, free: 8.418 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005405/0.2868, allocations: 451 kB / 468 MB, free: 7.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2868, allocations: 0 / 468 MB, free: 7.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009287/0.2877, allocations: 323 kB / 468.3 MB, free: 7.664 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.001429/0.2892, allocations: 0.6663 MB / 469 MB, free: 7.234 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002083/0.2913, allocations: 1.02 MB / 470 MB, free: 6.176 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2913, allocations: 0 / 470 MB, free: 6.176 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008647/0.2922, allocations: 0.4902 MB / 470.5 MB, free: 5.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007915/0.293, allocations: 154.7 kB / 470.6 MB, free: 5.516 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.2961, allocations: 1.809 MB / 472.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005832/0.2966, allocations: 1.018 MB / 473.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/0.2969, allocations: 83.39 kB / 473.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2969, allocations: 0 / 473.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of Templates: time 0.02101/0.3179, allocations: 17.25 MB / 490.8 MB, free: 1.336 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.makefile (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 & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe 2>&1)