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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03026/0.03026, allocations: 5.392 MB / 22.36 MB, free: 0.5703 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.001131/0.001131, allocations: 115 kB / 26.38 MB, free: 4.383 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.001355/0.001355, allocations: 186.3 kB / 30.51 MB, free: 288 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.328/1.328, allocations: 222.9 MB / 257.4 MB, free: 14.11 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.009046/0.009046, allocations: 2.317 MB / 313.1 MB, free: 3.289 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_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002692/0.002692, allocations: 103.8 kB / 431.1 MB, free: 2.285 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2093, allocations: 51.2 MB / 482.3 MB, free: 22.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.006313/0.2156, allocations: 6.852 MB / 489.1 MB, free: 17.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004954/0.2206, allocations: 3.947 MB / 493.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006718/0.2213, allocations: 22.19 kB / 493.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00219/0.2235, allocations: 1.147 MB / 494.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001611/0.2251, allocations: 0.863 MB / 495.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.2265, allocations: 0.5578 MB / 495.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.2277, allocations: 1.405 MB / 497 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/0.2288, allocations: 1.022 MB / 498.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005134/0.2293, allocations: 0.5535 MB / 498.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000652/0.2299, allocations: 0.691 MB / 499.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001735/0.2301, allocations: 146.5 kB / 499.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007383/0.2309, allocations: 436.7 kB / 499.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.2311, allocations: 310.9 kB / 0.4885 GB, free: 10.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004143/0.2315, allocations: 0.6362 MB / 0.4891 GB, free: 9.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.2331, allocations: 1.812 MB / 0.4909 GB, free: 8.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2331, allocations: 0 / 0.4909 GB, free: 8.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2331, allocations: 1.5 kB / 0.4909 GB, free: 8.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.896e-05/0.2331, allocations: 0 / 0.4909 GB, free: 8.242 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.003555/0.2367, allocations: 1.853 MB / 0.4927 GB, free: 6.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.2367, allocations: 8.031 kB / 0.4927 GB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001937/0.2387, allocations: 383.8 kB / 0.493 GB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/0.2401, allocations: 0.8406 MB / 0.4939 GB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.722e-05/0.2402, allocations: 82.06 kB / 0.4939 GB, free: 5.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.2403, allocations: 104 kB / 0.494 GB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.2419, allocations: 1.165 MB / 0.4952 GB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/0.2419, allocations: 4 kB / 0.4952 GB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-05/0.242, allocations: 40 kB / 0.4952 GB, free: 4.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.2421, allocations: 28 kB / 0.4952 GB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/0.2437, allocations: 1.07 MB / 0.4963 GB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005068/0.2488, allocations: 4.365 MB / 0.5006 GB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00275/0.2516, allocations: 1.743 MB / 0.5023 GB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006679/0.2523, allocations: 327.3 kB / 0.5026 GB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.2524, allocations: 101.6 kB / 0.5027 GB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008637/0.2533, allocations: 461.7 kB / 0.5031 GB, free: 11.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=69): time 2.505e-06/0.2533, allocations: 0 / 0.5031 GB, free: 11.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=69): time 0.00566/0.2589, allocations: 1.589 MB / 0.5047 GB, free: 9.906 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/0.2591, allocations: 226.2 kB / 0.5049 GB, free: 9.637 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008739/0.26, allocations: 0.6486 MB / 0.5055 GB, free: 8.977 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.824e-05/0.26, allocations: 49.64 kB / 0.5056 GB, free: 8.922 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004574/0.2605, allocations: 0.5351 MB / 0.5061 GB, free: 8.379 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.2607, allocations: 242 kB / 0.5063 GB, free: 8.141 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002994/0.261, allocations: 190.5 kB / 0.5065 GB, free: 7.945 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.2612, allocations: 386.7 kB / 0.5069 GB, free: 7.559 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00068/0.2619, allocations: 301.8 kB / 0.5071 GB, free: 7.266 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008618/0.2628, allocations: 0.5387 MB / 0.5077 GB, free: 6.625 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/0.2644, allocations: 0.9321 MB / 0.5086 GB, free: 5.574 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.2644, allocations: 4 kB / 0.5086 GB, free: 5.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002307/0.2667, allocations: 1.11 MB / 0.5097 GB, free: 4.438 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.741e-05/0.2668, allocations: 63.41 kB / 0.5097 GB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.2668, allocations: 12.28 kB / 0.5097 GB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004606/0.2672, allocations: 84.78 kB / 0.5098 GB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008365/0.2681, allocations: 227.5 kB / 0.51 GB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/0.2697, allocations: 1.589 MB / 0.5116 GB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007295/0.2705, allocations: 115.2 kB / 0.5117 GB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.481e-05/0.2706, allocations: 43.98 kB / 0.5117 GB, free: 2.148 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.0004959/0.2711, allocations: 347.2 kB / 0.5121 GB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.2712, allocations: 83.48 kB / 0.5122 GB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002125/0.2734, allocations: 1.007 MB / 0.5131 GB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.2734, allocations: 4 kB / 0.5131 GB, free: 0.668 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.2734, allocations: 0 / 0.5131 GB, free: 0.668 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.2734, allocations: 7.984 kB / 0.5131 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00589/0.2793, allocations: 2.306 MB / 0.5154 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.2793, allocations: 8.016 kB / 0.5154 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003842/0.2797, allocations: 99.89 kB / 0.5155 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008341/0.2806, allocations: 322.3 kB / 0.5158 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.423e-05/0.2806, allocations: 23.97 kB / 0.5158 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.282, allocations: 0.8935 MB / 0.5167 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.282, allocations: 4.031 kB / 0.5167 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002763/0.2848, allocations: 1.41 MB / 0.5181 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003577/0.2852, allocations: 228.4 kB / 0.5183 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.2853, allocations: 23.94 kB / 0.5183 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005363/0.2858, allocations: 51.95 kB / 0.5184 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.286, allocations: 36.52 kB / 0.5184 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.4e-05/0.286, allocations: 36.06 kB / 0.5184 GB, free: 11.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006003/0.2866, allocations: 455 kB / 0.5189 GB, free: 10.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2866, allocations: 0 / 0.5189 GB, free: 10.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009691/0.2876, allocations: 331.1 kB / 0.5192 GB, free: 10.29 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.002046/0.2897, allocations: 0.6585 MB / 0.5198 GB, free: 9.875 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002037/0.2917, allocations: 0.9961 MB / 0.5208 GB, free: 8.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2917, allocations: 4.062 kB / 0.5208 GB, free: 8.836 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009096/0.2926, allocations: 497.8 kB / 0.5213 GB, free: 8.324 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008088/0.2935, allocations: 166.2 kB / 0.5214 GB, free: 8.168 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/0.2966, allocations: 1.806 MB / 0.5232 GB, free: 6.316 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000659/0.2973, allocations: 1.018 MB / 0.5242 GB, free: 5.273 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/0.2976, allocations: 87.39 kB / 0.5243 GB, free: 5.191 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2976, allocations: 0 / 0.5243 GB, free: 5.191 MB / 382.1 MB Notification: Performance of Templates: time 0.02264/0.3202, allocations: 17.37 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_20160629.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.16053818212822] Failed to read output from testmodel.py, exit status != 0: 0.32724807993508875 0.33984608399999994 0.10418342800000001 Calling exit ...