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.0293/0.0293, allocations: 5.389 MB / 20.62 MB, free: 2.008 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.0008657/0.0008656, allocations: 104.1 kB / 22.61 MB, free: 388 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 201.2 kB / 24.7 MB, free: 0.668 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.195/1.195, allocations: 222.9 MB / 249.6 MB, free: 8.555 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.00881/0.00881, allocations: 2.313 MB / 303.2 MB, free: 6.695 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.002582/0.002582, allocations: 91.84 kB / 366.6 MB, free: 7.242 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1876, allocations: 51.2 MB / 417.8 MB, free: 26.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.005691/0.1934, allocations: 6.831 MB / 424.7 MB, free: 19.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004066/0.1975, allocations: 3.865 MB / 428.5 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004181/0.1979, allocations: 16 kB / 428.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002026/0.1999, allocations: 1.085 MB / 429.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001315/0.2012, allocations: 0.7688 MB / 430.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.2025, allocations: 0.4897 MB / 430.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008665/0.2033, allocations: 1.394 MB / 432.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009981/0.2043, allocations: 1.087 MB / 433.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003946/0.2047, allocations: 0.5604 MB / 433.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004943/0.2052, allocations: 0.6925 MB / 434.6 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.2054, allocations: 144 kB / 434.8 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005276/0.2059, allocations: 439.7 kB / 435.2 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.2061, allocations: 318.8 kB / 435.5 MB, free: 8.836 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003389/0.2064, allocations: 0.6336 MB / 436.1 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.2075, allocations: 1.768 MB / 437.9 MB, free: 6.426 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2076, allocations: 0 / 437.9 MB, free: 6.426 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2076, allocations: 0 / 437.9 MB, free: 6.426 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.2076, allocations: 4 kB / 437.9 MB, free: 6.422 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.003226/0.2108, allocations: 1.81 MB / 439.7 MB, free: 4.543 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.2109, allocations: 8.031 kB / 439.7 MB, free: 4.535 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/0.2128, allocations: 383.1 kB / 440.1 MB, free: 4.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.2142, allocations: 0.8166 MB / 440.9 MB, free: 3.301 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.416e-05/0.2142, allocations: 82.08 kB / 441 MB, free: 3.219 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.2143, allocations: 104 kB / 441.1 MB, free: 3.117 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.216, allocations: 1.173 MB / 442.3 MB, free: 1.883 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.216, allocations: 0 / 442.3 MB, free: 1.883 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.56e-05/0.2161, allocations: 44 kB / 442.3 MB, free: 1.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.2161, allocations: 28 kB / 442.3 MB, free: 1.812 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001667/0.2178, allocations: 1.07 MB / 443.4 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005775/0.2236, allocations: 4.384 MB / 447.8 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/0.2261, allocations: 1.743 MB / 449.5 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006337/0.2267, allocations: 327.3 kB / 449.9 MB, free: 9.879 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.2268, allocations: 97.64 kB / 450 MB, free: 9.762 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007897/0.2276, allocations: 469.6 kB / 450.4 MB, free: 9.277 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.725e-06/0.2276, allocations: 0 / 450.4 MB, free: 9.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.005541/0.2332, allocations: 1.585 MB / 452 MB, free: 7.656 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.2333, allocations: 222.2 kB / 452.2 MB, free: 7.391 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007328/0.234, allocations: 0.6485 MB / 452.9 MB, free: 6.734 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.31e-05/0.2341, allocations: 45.7 kB / 452.9 MB, free: 6.684 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003616/0.2345, allocations: 0.518 MB / 453.4 MB, free: 6.156 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.2346, allocations: 236.7 kB / 453.7 MB, free: 5.922 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.2349, allocations: 190.5 kB / 453.8 MB, free: 5.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.2351, allocations: 390.7 kB / 454.2 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006062/0.2357, allocations: 305.8 kB / 454.5 MB, free: 5.039 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007426/0.2364, allocations: 0.5348 MB / 455.1 MB, free: 4.398 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.2378, allocations: 0.9321 MB / 456 MB, free: 3.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.2378, allocations: 4 kB / 456 MB, free: 3.336 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00207/0.2399, allocations: 1.11 MB / 457.1 MB, free: 2.203 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.756e-05/0.2399, allocations: 74.33 kB / 457.2 MB, free: 2.121 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.24, allocations: 12 kB / 457.2 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004629/0.2404, allocations: 80.78 kB / 457.3 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008394/0.2413, allocations: 227.5 kB / 457.5 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/0.2427, allocations: 1.582 MB / 459.1 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007227/0.2435, allocations: 111.1 kB / 459.2 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.995e-05/0.2435, allocations: 47.97 kB / 459.2 MB, free: 15.93 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.0004277/0.244, allocations: 339.1 kB / 459.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.2441, allocations: 79.06 kB / 459.6 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/0.2461, allocations: 1.018 MB / 460.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.2461, allocations: 4 kB / 460.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.2461, allocations: 0 / 460.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.2461, allocations: 7.984 kB / 460.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005867/0.252, allocations: 2.313 MB / 463 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.252, allocations: 0 / 463 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/0.2524, allocations: 95.89 kB / 463.1 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008098/0.2533, allocations: 326.2 kB / 463.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.745e-05/0.2533, allocations: 31.97 kB / 463.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/0.2546, allocations: 0.8935 MB / 464.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2547, allocations: 0 / 464.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002579/0.2572, allocations: 1.397 MB / 465.7 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002891/0.2575, allocations: 224 kB / 465.9 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.2577, allocations: 28.05 kB / 466 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000546/0.2582, allocations: 47.97 kB / 466 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.33e-05/0.2583, allocations: 48.44 kB / 466 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.811e-05/0.2584, allocations: 35.86 kB / 466.1 MB, free: 8.824 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005252/0.2589, allocations: 455 kB / 466.5 MB, free: 8.383 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.259, allocations: 0 / 466.5 MB, free: 8.383 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008941/0.2599, allocations: 327 kB / 466.8 MB, free: 8.062 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.001235/0.2611, allocations: 0.6512 MB / 467.5 MB, free: 7.641 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001998/0.2631, allocations: 1.019 MB / 468.5 MB, free: 6.582 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2631, allocations: 4 kB / 468.5 MB, free: 6.578 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000794/0.2639, allocations: 498.3 kB / 469 MB, free: 6.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007534/0.2647, allocations: 159.8 kB / 469.2 MB, free: 5.926 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.2677, allocations: 2.209 MB / 471.4 MB, free: 3.684 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000514/0.2682, allocations: 1.022 MB / 472.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004604/0.2687, allocations: 130.4 kB / 472.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.2689, allocations: 79.39 kB / 472.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2689, allocations: 0 / 472.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of Templates: time 0.01899/0.2879, allocations: 12.08 MB / 484.7 MB, free: 6.441 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)