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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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 PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.153/1.153, allocations: 222.9 MB / 239.6 MB, free: 11.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009967/0.0009967, allocations: 94.14 kB / 289.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02394/0.02394, allocations: 5.392 MB / 345.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.007963/0.007963, allocations: 2.312 MB / 399 MB, free: 68.85 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 75.89 kB / 462.4 MB, free: 5.461 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1859, allocations: 51.2 MB / 0.5016 GB, free: 40.45 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.005898/0.1918, allocations: 6.831 MB / 0.5082 GB, free: 34.45 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003875/0.1957, allocations: 3.893 MB / 0.512 GB, free: 30.54 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003949/0.1961, allocations: 23.94 kB / 0.5121 GB, free: 30.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00185/0.198, allocations: 1.078 MB / 0.5131 GB, free: 29.44 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.1992, allocations: 0.7659 MB / 0.5139 GB, free: 28.67 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.2004, allocations: 0.4966 MB / 0.5143 GB, free: 28.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007765/0.2012, allocations: 1.316 MB / 0.5156 GB, free: 26.86 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000891/0.2021, allocations: 0.8513 MB / 0.5165 GB, free: 25.98 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003788/0.2025, allocations: 0.5018 MB / 0.517 GB, free: 25.47 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005036/0.203, allocations: 0.6535 MB / 0.5176 GB, free: 24.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.2032, allocations: 84 kB / 0.5177 GB, free: 24.73 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000557/0.2037, allocations: 375.7 kB / 0.518 GB, free: 24.37 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.2039, allocations: 262.8 kB / 0.5183 GB, free: 24.11 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003418/0.2042, allocations: 0.5867 MB / 0.5189 GB, free: 23.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.2053, allocations: 1.713 MB / 0.5205 GB, free: 21.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2053, allocations: 4 kB / 0.5205 GB, free: 21.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.2053, allocations: 0 / 0.5205 GB, free: 21.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.2053, allocations: 0 / 0.5205 GB, free: 21.8 MB / 314.7 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.00325/0.2086, allocations: 1.806 MB / 0.5223 GB, free: 19.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.2086, allocations: 8.875 kB / 0.5223 GB, free: 19.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/0.2104, allocations: 383.1 kB / 0.5227 GB, free: 19.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.2118, allocations: 0.8204 MB / 0.5235 GB, free: 18.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.31e-05/0.2119, allocations: 82.08 kB / 0.5236 GB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.212, allocations: 112 kB / 0.5237 GB, free: 18.49 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.2136, allocations: 1.165 MB / 0.5248 GB, free: 17.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.2136, allocations: 11.94 kB / 0.5248 GB, free: 17.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.224e-05/0.2137, allocations: 44 kB / 0.5248 GB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.2137, allocations: 24 kB / 0.5249 GB, free: 17.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/0.2154, allocations: 1.07 MB / 0.5259 GB, free: 16.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004534/0.2199, allocations: 4.372 MB / 0.5302 GB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002028/0.222, allocations: 1.747 MB / 0.5319 GB, free: 9.582 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005312/0.2225, allocations: 328.8 kB / 0.5322 GB, free: 9.262 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.73e-05/0.2226, allocations: 101.6 kB / 0.5323 GB, free: 9.141 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006485/0.2232, allocations: 469.7 kB / 0.5327 GB, free: 8.652 MB / 314.7 MB Notification: Performance of pre-optimization done (n=69): time 2.615e-06/0.2233, allocations: 0 / 0.5327 GB, free: 8.652 MB / 314.7 MB Notification: Performance of matching and sorting (n=69): time 0.004974/0.2282, allocations: 1.581 MB / 0.5343 GB, free: 7.035 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.2283, allocations: 226.2 kB / 0.5345 GB, free: 6.766 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005713/0.2289, allocations: 0.6485 MB / 0.5351 GB, free: 6.105 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.2289, allocations: 45.7 kB / 0.5352 GB, free: 6.055 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.2292, allocations: 0.5219 MB / 0.5357 GB, free: 5.523 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.2293, allocations: 236.7 kB / 0.5359 GB, free: 5.289 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.2295, allocations: 178.5 kB / 0.5361 GB, free: 5.109 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.213e-05/0.2296, allocations: 398.7 kB / 0.5365 GB, free: 4.711 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000526/0.2301, allocations: 301.8 kB / 0.5368 GB, free: 4.414 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005938/0.2307, allocations: 0.5309 MB / 0.5373 GB, free: 3.777 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.2318, allocations: 0.9399 MB / 0.5382 GB, free: 2.711 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.2318, allocations: 0 / 0.5382 GB, free: 2.711 MB / 314.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001763/0.2336, allocations: 1.114 MB / 0.5393 GB, free: 1.574 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/0.2336, allocations: 67.39 kB / 0.5393 GB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.2337, allocations: 8 kB / 0.5394 GB, free: 1.488 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004094/0.2341, allocations: 85.06 kB / 0.5394 GB, free: 1.402 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007437/0.2348, allocations: 227.5 kB / 0.5397 GB, free: 1.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.2359, allocations: 1.475 MB / 0.5411 GB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006474/0.2366, allocations: 111 kB / 0.5412 GB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.526e-05/0.2367, allocations: 47.98 kB / 0.5412 GB, free: 15.41 MB / 330.7 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.0003761/0.237, allocations: 339.2 kB / 0.5416 GB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.2372, allocations: 87.05 kB / 0.5417 GB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001892/0.2391, allocations: 0.9989 MB / 0.5426 GB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.2391, allocations: 8 kB / 0.5426 GB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.2391, allocations: 0 / 0.5426 GB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.2391, allocations: 3.984 kB / 0.5426 GB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005552/0.2447, allocations: 2.317 MB / 0.5449 GB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.2447, allocations: 4 kB / 0.5449 GB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003589/0.2451, allocations: 99.89 kB / 0.545 GB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007589/0.2458, allocations: 342.2 kB / 0.5453 GB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.377e-05/0.2459, allocations: 19.98 kB / 0.5453 GB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.2471, allocations: 0.8897 MB / 0.5462 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.2471, allocations: 15.97 kB / 0.5462 GB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01089/0.258, allocations: 5.192 MB / 0.5513 GB, free: 4.742 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000271/0.2583, allocations: 228 kB / 0.5515 GB, free: 4.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.2584, allocations: 23.94 kB / 0.5515 GB, free: 4.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005131/0.2589, allocations: 47.97 kB / 0.5516 GB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.925e-05/0.259, allocations: 40.56 kB / 0.5516 GB, free: 4.391 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.973e-05/0.2591, allocations: 39.97 kB / 0.5517 GB, free: 4.352 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000482/0.2596, allocations: 451 kB / 0.5521 GB, free: 3.918 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2596, allocations: 0 / 0.5521 GB, free: 3.918 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001016/0.2606, allocations: 395 kB / 0.5525 GB, free: 3.531 MB / 330.7 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.001192/0.2618, allocations: 0.6583 MB / 0.5531 GB, free: 3.113 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001654/0.2635, allocations: 0.9876 MB / 0.5541 GB, free: 2.086 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2635, allocations: 0 / 0.5541 GB, free: 2.086 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007712/0.2643, allocations: 0.4948 MB / 0.5546 GB, free: 1.562 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007427/0.265, allocations: 146.1 kB / 0.5547 GB, free: 1.422 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/0.2683, allocations: 2.644 MB / 0.5573 GB, free: 14.73 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/0.2687, allocations: 1.034 MB / 0.5583 GB, free: 13.66 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000506/0.2693, allocations: 142.4 kB / 0.5584 GB, free: 13.51 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.2695, allocations: 87.38 kB / 0.5585 GB, free: 13.43 MB / 346.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2695, allocations: 0 / 0.5585 GB, free: 13.43 MB / 346.7 MB Notification: Performance of Templates: time 0.01946/0.289, allocations: 13.52 MB / 0.5717 GB, free: 4 kB / 346.7 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)