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) 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_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02491/0.02491, allocations: 5.396 MB / 21.65 MB, free: 1.113 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.001056/0.001056, allocations: 103.3 kB / 23.64 MB, free: 0.75 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.001082/0.001082, allocations: 196.6 kB / 25.77 MB, free: 4.547 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 250.6 MB, free: 8.465 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009606/0.009606, allocations: 2.321 MB / 304.3 MB, free: 6.516 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 87.86 kB / 368.6 MB, free: 6.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2191, allocations: 51.21 MB / 419.8 MB, free: 26.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.007207/0.2264, allocations: 6.852 MB / 426.7 MB, free: 19.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005285/0.2317, allocations: 3.939 MB / 430.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009975/0.2327, allocations: 19.94 kB / 430.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00262/0.2353, allocations: 1.162 MB / 431.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002099/0.2374, allocations: 0.8545 MB / 432.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.2392, allocations: 0.5434 MB / 433.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001943/0.2411, allocations: 1.41 MB / 434.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001681/0.2428, allocations: 1.013 MB / 435.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008272/0.2437, allocations: 0.5604 MB / 436.2 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.2447, allocations: 0.6874 MB / 436.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001923/0.2449, allocations: 140 kB / 437 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008204/0.2457, allocations: 439.7 kB / 437.4 MB, free: 8.617 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.2459, allocations: 318.8 kB / 437.7 MB, free: 8.305 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004699/0.2464, allocations: 0.6336 MB / 438.4 MB, free: 7.668 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.248, allocations: 1.799 MB / 440.2 MB, free: 5.863 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.248, allocations: 0 / 440.2 MB, free: 5.863 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.248, allocations: 0 / 440.2 MB, free: 5.863 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.248, allocations: 0 / 440.2 MB, free: 5.863 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.00347/0.2515, allocations: 1.812 MB / 442 MB, free: 3.984 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.2515, allocations: 8.031 kB / 442 MB, free: 3.977 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/0.2535, allocations: 379.1 kB / 442.4 MB, free: 3.605 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.255, allocations: 0.836 MB / 443.2 MB, free: 2.723 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.249e-05/0.2551, allocations: 82.08 kB / 443.3 MB, free: 2.641 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.2552, allocations: 104 kB / 443.4 MB, free: 2.539 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.2568, allocations: 1.177 MB / 444.5 MB, free: 1.301 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/0.2569, allocations: 0 / 444.5 MB, free: 1.301 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-05/0.257, allocations: 44 kB / 444.6 MB, free: 1.258 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.257, allocations: 28 kB / 444.6 MB, free: 1.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/0.2587, allocations: 1.073 MB / 445.7 MB, free: 164 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00596/0.2647, allocations: 4.345 MB / 450 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00261/0.2673, allocations: 1.74 MB / 451.8 MB, free: 9.656 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007004/0.268, allocations: 323.8 kB / 452.1 MB, free: 9.336 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.2682, allocations: 97.64 kB / 452.2 MB, free: 9.219 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008228/0.269, allocations: 473.6 kB / 452.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.184e-06/0.269, allocations: 0 / 452.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.005679/0.2747, allocations: 1.592 MB / 454.2 MB, free: 7.098 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.2748, allocations: 230.2 kB / 454.5 MB, free: 6.824 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008626/0.2757, allocations: 0.6447 MB / 455.1 MB, free: 6.172 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.246e-05/0.2758, allocations: 37.7 kB / 455.1 MB, free: 6.129 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000429/0.2762, allocations: 0.518 MB / 455.7 MB, free: 5.602 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.2764, allocations: 232.8 kB / 455.9 MB, free: 5.371 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002755/0.2767, allocations: 190.5 kB / 456.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.2769, allocations: 390.7 kB / 456.5 MB, free: 4.789 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006453/0.2775, allocations: 297.8 kB / 456.8 MB, free: 4.496 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008481/0.2784, allocations: 0.5348 MB / 457.3 MB, free: 3.859 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.2799, allocations: 0.9282 MB / 458.2 MB, free: 2.809 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.2799, allocations: 8 kB / 458.2 MB, free: 2.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002236/0.2822, allocations: 1.114 MB / 459.3 MB, free: 1.664 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.452e-05/0.2822, allocations: 70.2 kB / 459.4 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.2822, allocations: 8 kB / 459.4 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004777/0.2827, allocations: 93 kB / 459.5 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008677/0.2836, allocations: 223.5 kB / 459.7 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.2852, allocations: 1.585 MB / 461.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007727/0.286, allocations: 103.1 kB / 461.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.1e-05/0.286, allocations: 47.97 kB / 461.5 MB, free: 15.39 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.0004916/0.2865, allocations: 339.1 kB / 461.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.2867, allocations: 79.06 kB / 461.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002101/0.2888, allocations: 1.014 MB / 462.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.2888, allocations: 8 kB / 462.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.2888, allocations: 0 / 462.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.2888, allocations: 7.984 kB / 462.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006185/0.295, allocations: 2.298 MB / 465.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.2951, allocations: 0 / 465.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003891/0.2955, allocations: 99.83 kB / 465.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008033/0.2963, allocations: 330.3 kB / 465.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.726e-05/0.2964, allocations: 27.97 kB / 465.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/0.2977, allocations: 0.9012 MB / 466.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2977, allocations: 3.938 kB / 466.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003686/0.3014, allocations: 1.406 MB / 467.9 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004052/0.3019, allocations: 220 kB / 468.2 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.3021, allocations: 31.98 kB / 468.2 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008701/0.3029, allocations: 47.97 kB / 468.2 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.3031, allocations: 40.5 kB / 468.3 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.859e-05/0.3032, allocations: 27.98 kB / 468.3 MB, free: 8.305 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008657/0.3041, allocations: 459 kB / 468.8 MB, free: 7.859 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3041, allocations: 0 / 468.8 MB, free: 7.859 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001468/0.3056, allocations: 319 kB / 469.1 MB, free: 7.547 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.002239/0.3078, allocations: 0.6642 MB / 469.7 MB, free: 7.117 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003019/0.3108, allocations: 0.9923 MB / 470.7 MB, free: 6.082 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3109, allocations: 0 / 470.7 MB, free: 6.082 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.3122, allocations: 0.498 MB / 471.2 MB, free: 5.559 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.3136, allocations: 150.8 kB / 471.4 MB, free: 5.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004727/0.3183, allocations: 1.737 MB / 473.1 MB, free: 3.645 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008153/0.3192, allocations: 1.018 MB / 474.1 MB, free: 2.598 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0007476/0.3199, allocations: 130.4 kB / 474.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003171/0.3203, allocations: 87.33 kB / 474.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3203, allocations: 0 / 474.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of Templates: time 0.04011/0.3604, allocations: 12.04 MB / 486.4 MB, free: 6.43 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.makefile (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 -s cvode -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe 2>&1)