Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.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_Comax_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02962/0.02962, allocations: 5.39 MB / 20.89 MB, free: 1.363 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.008341/0.008341, allocations: 100.1 kB / 22.88 MB, free: 0.7578 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.001343/0.001343, allocations: 190.7 kB / 25 MB, free: 140 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 249.9 MB, free: 8.504 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009131/0.009131, allocations: 2.324 MB / 303.5 MB, free: 6.535 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 99.84 kB / 367.2 MB, free: 6.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2156, allocations: 51.2 MB / 418.4 MB, free: 26.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704): time 0.007104/0.2228, allocations: 6.889 MB / 425.3 MB, free: 19.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005604/0.2284, allocations: 4.009 MB / 429.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.2295, allocations: 23.94 kB / 429.3 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00283/0.2323, allocations: 1.17 MB / 430.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002462/0.2348, allocations: 0.8884 MB / 431.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.2365, allocations: 0.6129 MB / 432 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001376/0.2379, allocations: 1.394 MB / 433.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.2392, allocations: 1.025 MB / 434.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000552/0.2398, allocations: 0.5681 MB / 434.9 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006198/0.2404, allocations: 0.6808 MB / 435.6 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001485/0.2406, allocations: 140 kB / 435.8 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007565/0.2413, allocations: 435.6 kB / 436.2 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.2415, allocations: 290.9 kB / 436.5 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004274/0.2419, allocations: 0.6297 MB / 437.1 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.2434, allocations: 1.741 MB / 438.8 MB, free: 5.836 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.2435, allocations: 4 kB / 438.8 MB, free: 5.832 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2435, allocations: 0 / 438.8 MB, free: 5.832 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.2435, allocations: 0 / 438.8 MB, free: 5.832 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003746/0.2472, allocations: 1.794 MB / 440.6 MB, free: 3.969 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.2473, allocations: 8.031 kB / 440.6 MB, free: 3.961 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001987/0.2493, allocations: 383.1 kB / 441 MB, free: 3.586 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.2508, allocations: 0.7971 MB / 441.8 MB, free: 2.746 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.001e-05/0.2509, allocations: 78 kB / 441.9 MB, free: 2.668 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.251, allocations: 107.9 kB / 442 MB, free: 2.562 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.2527, allocations: 1.134 MB / 443.1 MB, free: 1.371 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/0.2528, allocations: 4 kB / 443.1 MB, free: 1.367 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.47e-05/0.2529, allocations: 44 kB / 443.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.2529, allocations: 24 kB / 443.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.2546, allocations: 0.9486 MB / 444.2 MB, free: 364 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006224/0.2608, allocations: 4.338 MB / 448.5 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002648/0.2635, allocations: 1.666 MB / 450.2 MB, free: 9.918 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007132/0.2642, allocations: 312.6 kB / 450.5 MB, free: 9.605 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.2644, allocations: 101.5 kB / 450.6 MB, free: 9.488 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008656/0.2652, allocations: 466.5 kB / 451 MB, free: 9 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 2.645e-06/0.2652, allocations: 4 kB / 451 MB, free: 8.996 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.006051/0.2713, allocations: 1.541 MB / 452.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001554/0.2715, allocations: 277.5 kB / 452.8 MB, free: 7.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009007/0.2724, allocations: 0.6643 MB / 453.5 MB, free: 6.418 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.252e-05/0.2725, allocations: 37.7 kB / 453.5 MB, free: 6.375 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003917/0.2729, allocations: 0.5219 MB / 454.1 MB, free: 5.844 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.2731, allocations: 213.1 kB / 454.3 MB, free: 5.633 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/0.2734, allocations: 182.4 kB / 454.4 MB, free: 5.449 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.2736, allocations: 390.8 kB / 454.8 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006774/0.2742, allocations: 285.8 kB / 455.1 MB, free: 4.777 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008184/0.2751, allocations: 0.5325 MB / 455.6 MB, free: 4.137 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.2765, allocations: 0.9218 MB / 456.6 MB, free: 3.086 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.555e-06/0.2765, allocations: 3.938 kB / 456.6 MB, free: 3.082 MB / 318.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002326/0.2789, allocations: 1.071 MB / 457.6 MB, free: 1.988 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.149e-05/0.2789, allocations: 70.16 kB / 457.7 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.279, allocations: 8 kB / 457.7 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004813/0.2795, allocations: 84.78 kB / 457.8 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008578/0.2803, allocations: 223.9 kB / 458 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/0.2819, allocations: 1.585 MB / 459.6 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009235/0.2828, allocations: 103.1 kB / 459.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.135e-05/0.2829, allocations: 43.98 kB / 459.7 MB, free: 15.72 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 26 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,$PRE.irradianceTable.nextTimeEvent,$whenCondition4,writeCSV.sampleTrigger,$whenCondition3,mpTracker.sampleTrigger,$whenCondition2,$PRE.powerTable.nextTimeEvent,$whenCondition1,powerTable.nextTimeEventScaled,$PRE.powerTable.nextTimeEventScaled,powerTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,$PRE.irradianceTable.nextTimeEventScaled,irradianceTable.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 (117): * Single equations (assignments): 114 * 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.000568/0.2835, allocations: 343.7 kB / 460.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.2837, allocations: 83 kB / 460.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/0.2857, allocations: 0.9167 MB / 461.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/0.2857, allocations: 8 kB / 461.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2857, allocations: 0 / 461.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.2857, allocations: 3.984 kB / 461.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006136/0.2919, allocations: 2.222 MB / 463.3 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.2919, allocations: 0 / 463.3 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/0.2923, allocations: 87.84 kB / 463.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008424/0.2932, allocations: 330.3 kB / 463.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.527e-05/0.2933, allocations: 23.98 kB / 463.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.2946, allocations: 0.8896 MB / 464.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.2946, allocations: 4.031 kB / 464.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00554/0.3002, allocations: 1.626 MB / 466.3 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005405/0.3008, allocations: 219.9 kB / 466.5 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002646/0.301, allocations: 20 kB / 466.5 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007051/0.3018, allocations: 51.95 kB / 466.5 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.3019, allocations: 48.31 kB / 466.6 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.767e-05/0.302, allocations: 23.98 kB / 466.6 MB, free: 8.605 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007873/0.3028, allocations: 463 kB / 467.1 MB, free: 8.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3028, allocations: 0 / 467.1 MB, free: 8.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001225/0.304, allocations: 319 kB / 467.4 MB, free: 7.848 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (voltageSource.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 15 ($whenCondition1,powerTable.nextTimeEvent,powerTable.nextTimeEventScaled,$whenCondition4,$whenCondition2,$whenCondition3,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,writeCSV.sampleTrigger,writeCSV.firstTrigger,irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled) * Number of discrete states: 14 (irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition2,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition3,writeCSV.sampleTrigger,powerTable.nextTimeEventScaled,powerTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * 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.001503/0.3055, allocations: 0.6607 MB / 468 MB, free: 7.418 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002284/0.3078, allocations: 0.9991 MB / 469 MB, free: 6.379 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3079, allocations: 0 / 469 MB, free: 6.379 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008736/0.3087, allocations: 481.2 kB / 469.5 MB, free: 5.887 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009422/0.3097, allocations: 170 kB / 469.7 MB, free: 5.723 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003285/0.313, allocations: 1.729 MB / 471.4 MB, free: 3.953 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006455/0.3136, allocations: 1.014 MB / 472.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005483/0.3142, allocations: 122.4 kB / 472.5 MB, free: 2.789 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.3144, allocations: 79.33 kB / 472.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3144, allocations: 4 kB / 472.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of Templates: time 0.02305/0.3375, allocations: 12.23 MB / 484.8 MB, free: 6.57 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe 2>&1)