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/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_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/PhotoVoltaics 2.0.0/package.mo): time 0.02854/0.02854, allocations: 5.384 MB / 20.65 MB, free: 1.293 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.0006615/0.0006616, allocations: 90.23 kB / 22.65 MB, free: 56 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008462/0.0008463, allocations: 174 kB / 24.74 MB, free: 1.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.261/1.261, allocations: 223.3 MB / 250 MB, free: 5.984 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008552/0.008553, allocations: 2.317 MB / 304.6 MB, free: 5.031 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0003829/0.0003829, allocations: 12 kB / 368.9 MB, free: 4.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2065, allocations: 52.21 MB / 421.1 MB, free: 25.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.004928/0.2114, allocations: 6.328 MB / 427.4 MB, free: 19.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004543/0.216, allocations: 3.835 MB / 431.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007734/0.2168, allocations: 19.94 kB / 431.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.218, allocations: 449.9 kB / 431.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001781/0.2198, allocations: 0.7615 MB / 432.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.2212, allocations: 0.5005 MB / 433 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001022/0.2222, allocations: 1.308 MB / 434.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001748/0.224, allocations: 1.409 MB / 435.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004328/0.2244, allocations: 461.9 kB / 436.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005192/0.2249, allocations: 0.5833 MB / 436.7 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.543e-05/0.225, allocations: 63.94 kB / 436.8 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005987/0.2256, allocations: 351.6 kB / 437.1 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.2258, allocations: 219 kB / 437.4 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003288/0.2261, allocations: 0.5727 MB / 437.9 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.2272, allocations: 1.662 MB / 439.6 MB, free: 6.906 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2272, allocations: 0 / 439.6 MB, free: 6.906 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2272, allocations: 0 / 439.6 MB, free: 6.906 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.2272, allocations: 0 / 439.6 MB, free: 6.906 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.003141/0.2304, allocations: 1.588 MB / 441.2 MB, free: 5.254 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.2304, allocations: 8.031 kB / 441.2 MB, free: 5.246 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001995/0.2324, allocations: 375.2 kB / 441.6 MB, free: 4.879 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.2339, allocations: 0.8322 MB / 442.4 MB, free: 4.004 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.254e-05/0.234, allocations: 78.08 kB / 442.5 MB, free: 3.926 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.2341, allocations: 111.9 kB / 442.6 MB, free: 3.816 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.2358, allocations: 1.176 MB / 443.7 MB, free: 2.578 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/0.2359, allocations: 0 / 443.7 MB, free: 2.578 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.584e-05/0.236, allocations: 44 kB / 443.8 MB, free: 2.535 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.236, allocations: 24 kB / 443.8 MB, free: 2.512 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.2378, allocations: 1.085 MB / 444.9 MB, free: 1.426 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005568/0.2434, allocations: 4.392 MB / 449.3 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002526/0.2459, allocations: 1.755 MB / 451 MB, free: 10.87 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006314/0.2466, allocations: 333.1 kB / 451.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.634e-05/0.2467, allocations: 97.66 kB / 451.5 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008054/0.2475, allocations: 469.7 kB / 451.9 MB, free: 9.938 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.124e-06/0.2475, allocations: 3.938 kB / 451.9 MB, free: 9.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.005639/0.2531, allocations: 1.631 MB / 453.6 MB, free: 8.266 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.2533, allocations: 230.2 kB / 453.8 MB, free: 7.992 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007552/0.254, allocations: 0.6447 MB / 454.4 MB, free: 7.336 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.248e-05/0.2541, allocations: 37.7 kB / 454.5 MB, free: 7.293 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003468/0.2544, allocations: 0.5296 MB / 455 MB, free: 6.754 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.2546, allocations: 232.8 kB / 455.2 MB, free: 6.523 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.2547, allocations: 85.67 kB / 455.3 MB, free: 6.434 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.2549, allocations: 390.7 kB / 455.7 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006386/0.2555, allocations: 305.8 kB / 456 MB, free: 5.742 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007583/0.2563, allocations: 0.5348 MB / 456.5 MB, free: 5.102 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/0.2577, allocations: 0.9438 MB / 457.5 MB, free: 4.031 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.2578, allocations: 0 / 457.5 MB, free: 4.031 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002079/0.2598, allocations: 1.118 MB / 458.6 MB, free: 2.891 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.021e-05/0.2599, allocations: 67.39 kB / 458.6 MB, free: 2.812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.2599, allocations: 4 kB / 458.7 MB, free: 2.809 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004516/0.2604, allocations: 93.06 kB / 458.7 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008135/0.2612, allocations: 223.6 kB / 459 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/0.2625, allocations: 1.468 MB / 460.4 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006821/0.2632, allocations: 111.1 kB / 460.5 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-05/0.2633, allocations: 43.98 kB / 460.6 MB, free: 0.7422 MB / 318.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.000404/0.2637, allocations: 339.1 kB / 460.9 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.2638, allocations: 90.97 kB / 461 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/0.2658, allocations: 1.018 MB / 462 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.2658, allocations: 11.98 kB / 462 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.2658, allocations: 0 / 462 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.2658, allocations: 3.984 kB / 462 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005733/0.2716, allocations: 2.345 MB / 464.4 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2716, allocations: 0 / 464.4 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003649/0.2719, allocations: 99.83 kB / 464.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007896/0.2727, allocations: 338.3 kB / 464.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-05/0.2728, allocations: 31.97 kB / 464.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/0.274, allocations: 0.9013 MB / 465.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.2741, allocations: 7.969 kB / 465.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002495/0.2766, allocations: 1.416 MB / 467.2 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002808/0.2769, allocations: 231.8 kB / 467.4 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.277, allocations: 27.94 kB / 467.4 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005466/0.2775, allocations: 51.97 kB / 467.5 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.141e-05/0.2776, allocations: 44.5 kB / 467.5 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-05/0.2777, allocations: 31.97 kB / 467.5 MB, free: 9.543 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005095/0.2782, allocations: 451 kB / 468 MB, free: 9.109 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2782, allocations: 0 / 468 MB, free: 9.109 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008669/0.2791, allocations: 331 kB / 468.3 MB, free: 8.785 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.001275/0.2804, allocations: 0.6496 MB / 469 MB, free: 8.363 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001718/0.2821, allocations: 0.9949 MB / 470 MB, free: 7.328 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2821, allocations: 4 kB / 470 MB, free: 7.324 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007925/0.2829, allocations: 0.4914 MB / 470.4 MB, free: 6.812 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008594/0.2838, allocations: 156.2 kB / 470.6 MB, free: 6.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.2868, allocations: 2.289 MB / 472.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.2873, allocations: 1.018 MB / 473.9 MB, free: 3.297 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004593/0.2878, allocations: 126.4 kB / 474 MB, free: 3.168 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.288, allocations: 87.39 kB / 474.1 MB, free: 3.082 MB / 334.1 MB Notification: Performance of SimCode: time 3.8e-07/0.288, allocations: 0 / 474.1 MB, free: 3.082 MB / 334.1 MB Notification: Performance of Templates: time 0.01843/0.3064, allocations: 11.45 MB / 485.6 MB, free: 7.719 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: