Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02932/0.02932, allocations: 5.393 MB / 22.36 MB, free: 0.7031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 109.1 kB / 26.38 MB, free: 4.535 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 195.6 kB / 30.52 MB, free: 440 kB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 257.4 MB, free: 14.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009019/0.009019, allocations: 2.314 MB / 313.1 MB, free: 3.348 MB / 238.1 MB " [Timeout remaining time 180] 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_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002712/0.002712, allocations: 103.8 kB / 431.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2056, allocations: 51.2 MB / 482.3 MB, free: 23.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.00698/0.2126, allocations: 6.858 MB / 489.1 MB, free: 17.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005147/0.2178, allocations: 3.939 MB / 493.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008247/0.2187, allocations: 22.53 kB / 493.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002433/0.2211, allocations: 1.146 MB / 494.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001988/0.2231, allocations: 0.8674 MB / 495.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.2247, allocations: 0.5456 MB / 495.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00143/0.2262, allocations: 1.424 MB / 497.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.2273, allocations: 1.016 MB / 498.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005892/0.2279, allocations: 0.5533 MB / 498.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006541/0.2286, allocations: 0.69 MB / 499.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001816/0.2288, allocations: 142.9 kB / 499.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007939/0.2296, allocations: 436.5 kB / 499.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.2298, allocations: 307.7 kB / 0.4885 GB, free: 10.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004227/0.2302, allocations: 0.6482 MB / 0.4891 GB, free: 9.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001668/0.2319, allocations: 1.808 MB / 0.4909 GB, free: 8.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2319, allocations: 0 / 0.4909 GB, free: 8.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2319, allocations: 4 kB / 0.4909 GB, free: 8.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.2319, allocations: 0 / 0.4909 GB, free: 8.199 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.003621/0.2355, allocations: 1.848 MB / 0.4927 GB, free: 6.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.2356, allocations: 12.03 kB / 0.4927 GB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00195/0.2375, allocations: 387.8 kB / 0.493 GB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.239, allocations: 0.8289 MB / 0.4939 GB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.703e-05/0.239, allocations: 78.08 kB / 0.4939 GB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.2392, allocations: 108 kB / 0.494 GB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.2407, allocations: 1.173 MB / 0.4952 GB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/0.2408, allocations: 4 kB / 0.4952 GB, free: 4.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.532e-05/0.2409, allocations: 44 kB / 0.4952 GB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.2409, allocations: 28 kB / 0.4953 GB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.2425, allocations: 1.07 MB / 0.4963 GB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005193/0.2478, allocations: 4.354 MB / 0.5006 GB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002769/0.2505, allocations: 1.751 MB / 0.5023 GB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006641/0.2512, allocations: 324.8 kB / 0.5026 GB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.2513, allocations: 97.66 kB / 0.5027 GB, free: 12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008584/0.2522, allocations: 461.8 kB / 0.5031 GB, free: 11.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=69): time 2.385e-06/0.2522, allocations: 0 / 0.5031 GB, free: 11.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=69): time 0.005742/0.258, allocations: 1.597 MB / 0.5047 GB, free: 9.887 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/0.2581, allocations: 226.2 kB / 0.5049 GB, free: 9.617 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009299/0.2591, allocations: 0.6525 MB / 0.5055 GB, free: 8.953 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.983e-05/0.2591, allocations: 45.69 kB / 0.5056 GB, free: 8.902 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004416/0.2596, allocations: 0.5312 MB / 0.5061 GB, free: 8.363 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/0.2598, allocations: 242 kB / 0.5063 GB, free: 8.125 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002966/0.2601, allocations: 190.5 kB / 0.5065 GB, free: 7.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.2603, allocations: 390.7 kB / 0.5069 GB, free: 7.539 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006497/0.261, allocations: 301.8 kB / 0.5072 GB, free: 7.246 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008798/0.2619, allocations: 0.5309 MB / 0.5077 GB, free: 6.613 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.2635, allocations: 0.9399 MB / 0.5086 GB, free: 5.555 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-06/0.2635, allocations: 4 kB / 0.5086 GB, free: 5.551 MB / 366.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00235/0.2659, allocations: 1.11 MB / 0.5097 GB, free: 4.418 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.286e-05/0.266, allocations: 71.33 kB / 0.5097 GB, free: 4.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.266, allocations: 4 kB / 0.5097 GB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004528/0.2664, allocations: 88.78 kB / 0.5098 GB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008388/0.2673, allocations: 223.9 kB / 0.51 GB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/0.269, allocations: 1.582 MB / 0.5116 GB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008485/0.2698, allocations: 123.4 kB / 0.5117 GB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-05/0.2699, allocations: 43.97 kB / 0.5117 GB, free: 2.129 MB / 366.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.000534/0.2704, allocations: 343.1 kB / 0.5121 GB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.2706, allocations: 83.48 kB / 0.5122 GB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002154/0.2728, allocations: 1.003 MB / 0.5131 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.2728, allocations: 8 kB / 0.5131 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.2728, allocations: 0 / 0.5131 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.2728, allocations: 7.984 kB / 0.5132 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006077/0.2789, allocations: 2.306 MB / 0.5154 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.2789, allocations: 0 / 0.5154 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003889/0.2793, allocations: 103.8 kB / 0.5155 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008392/0.2802, allocations: 334.2 kB / 0.5158 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.08e-05/0.2802, allocations: 23.97 kB / 0.5158 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/0.2816, allocations: 0.8974 MB / 0.5167 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.2816, allocations: 3.984 kB / 0.5167 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002818/0.2845, allocations: 1.406 MB / 0.5181 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004127/0.2849, allocations: 228.4 kB / 0.5183 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.285, allocations: 24 kB / 0.5183 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005352/0.2856, allocations: 47.97 kB / 0.5184 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.2857, allocations: 40.5 kB / 0.5184 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.989e-05/0.2858, allocations: 31.97 kB / 0.5185 GB, free: 11.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006198/0.2864, allocations: 451 kB / 0.5189 GB, free: 10.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2864, allocations: 0 / 0.5189 GB, free: 10.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009962/0.2874, allocations: 335.1 kB / 0.5192 GB, free: 10.27 MB / 382.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.002091/0.2895, allocations: 0.6547 MB / 0.5198 GB, free: 9.859 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002038/0.2916, allocations: 0.9988 MB / 0.5208 GB, free: 8.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.2916, allocations: 7.875 kB / 0.5208 GB, free: 8.812 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009136/0.2925, allocations: 0.4915 MB / 0.5213 GB, free: 8.297 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008724/0.2934, allocations: 149.3 kB / 0.5214 GB, free: 8.156 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/0.2967, allocations: 1.807 MB / 0.5232 GB, free: 6.301 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006723/0.2974, allocations: 1.01 MB / 0.5242 GB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003008/0.2977, allocations: 91.39 kB / 0.5243 GB, free: 5.18 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.2978, allocations: 0 / 0.5243 GB, free: 5.18 MB / 382.1 MB Notification: Performance of Templates: time 0.02255/0.3203, allocations: 17.36 MB / 0.5412 GB, free: 3.863 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.makefile [Timeout 660] (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.13501840387471] Failed to read output from testmodel.py, exit status != 0: 0.3275740840472281 0.339642693 0.10533083900000001 Calling exit ...