Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.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_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02377/0.02377, allocations: 5.391 MB / 21.27 MB, free: 1.777 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.0009735/0.0009735, allocations: 114.3 kB / 23.27 MB, free: 48 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.001184/0.001185, allocations: 186.9 kB / 25.36 MB, free: 0.5625 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.293/1.293, allocations: 222.9 MB / 250.2 MB, free: 6.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.009179/0.009179, allocations: 2.317 MB / 303.9 MB, free: 6.516 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.002657/0.002658, allocations: 91.86 kB / 367.3 MB, free: 7.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2879, allocations: 51.21 MB / 418.5 MB, free: 26.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004): time 0.006299/0.2942, allocations: 6.858 MB / 425.3 MB, free: 19.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005071/0.2993, allocations: 3.943 MB / 429.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009655/0.3003, allocations: 23.94 kB / 429.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00264/0.303, allocations: 1.1 MB / 430.4 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002061/0.3051, allocations: 0.7931 MB / 431.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.3068, allocations: 0.5418 MB / 431.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00145/0.3083, allocations: 1.398 MB / 433.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001452/0.3098, allocations: 1.083 MB / 434.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007381/0.3105, allocations: 0.572 MB / 434.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008397/0.3114, allocations: 0.6853 MB / 435.5 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002512/0.3116, allocations: 144 kB / 435.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008659/0.3125, allocations: 431.7 kB / 436 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002344/0.3128, allocations: 299 kB / 436.3 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005977/0.3134, allocations: 0.6297 MB / 437 MB, free: 8.004 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.3147, allocations: 1.36 MB / 438.3 MB, free: 6.641 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3147, allocations: 0 / 438.3 MB, free: 6.641 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3147, allocations: 0 / 438.3 MB, free: 6.641 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.852e-05/0.3148, allocations: 4 kB / 438.3 MB, free: 6.637 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.00379/0.3185, allocations: 1.802 MB / 440.1 MB, free: 4.766 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3186, allocations: 8.031 kB / 440.1 MB, free: 4.758 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/0.3206, allocations: 383.1 kB / 440.5 MB, free: 4.383 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/0.3222, allocations: 0.797 MB / 441.3 MB, free: 3.547 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.177e-05/0.3223, allocations: 81.98 kB / 441.4 MB, free: 3.465 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.3224, allocations: 103.9 kB / 441.5 MB, free: 3.363 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.3242, allocations: 1.13 MB / 442.6 MB, free: 2.176 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.3242, allocations: 7.938 kB / 442.6 MB, free: 2.168 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.829e-05/0.3243, allocations: 40 kB / 442.7 MB, free: 2.129 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.3243, allocations: 24 kB / 442.7 MB, free: 2.105 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.326, allocations: 0.9485 MB / 443.6 MB, free: 1.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00578/0.3318, allocations: 4.338 MB / 448 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002506/0.3343, allocations: 1.682 MB / 449.7 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006579/0.335, allocations: 323.9 kB / 450 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.966e-05/0.3351, allocations: 85.55 kB / 450.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008206/0.3359, allocations: 462.6 kB / 450.5 MB, free: 9.801 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 2.284e-06/0.3359, allocations: 0 / 450.5 MB, free: 9.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.005685/0.3416, allocations: 1.548 MB / 452.1 MB, free: 8.219 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.3418, allocations: 273.6 kB / 452.3 MB, free: 7.891 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009064/0.3427, allocations: 0.6643 MB / 453 MB, free: 7.219 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.619e-05/0.3428, allocations: 37.7 kB / 453 MB, free: 7.176 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000371/0.3431, allocations: 0.5218 MB / 453.5 MB, free: 6.645 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000182/0.3433, allocations: 213 kB / 453.8 MB, free: 6.434 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00027/0.3436, allocations: 186.4 kB / 453.9 MB, free: 6.246 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3438, allocations: 386.8 kB / 454.3 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006437/0.3444, allocations: 285.8 kB / 454.6 MB, free: 5.578 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007696/0.3452, allocations: 0.5365 MB / 455.1 MB, free: 4.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.3466, allocations: 0.9099 MB / 456 MB, free: 3.887 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.3467, allocations: 11.94 kB / 456.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002204/0.3489, allocations: 1.063 MB / 457.1 MB, free: 2.789 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.44e-05/0.3489, allocations: 67.34 kB / 457.2 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.349, allocations: 8 kB / 457.2 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005013/0.3495, allocations: 89.06 kB / 457.3 MB, free: 2.613 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008605/0.3503, allocations: 211.7 kB / 457.5 MB, free: 2.406 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.3518, allocations: 1.593 MB / 459.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008472/0.3527, allocations: 111.2 kB / 459.2 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.696e-05/0.3528, allocations: 39.98 kB / 459.2 MB, free: 0.5195 MB / 318.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.0005058/0.3533, allocations: 335.8 kB / 459.6 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.3535, allocations: 87 kB / 459.6 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/0.3555, allocations: 0.9207 MB / 460.6 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.3555, allocations: 15.98 kB / 460.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3555, allocations: 0 / 460.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.3555, allocations: 0 / 460.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006054/0.3616, allocations: 2.21 MB / 462.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.3616, allocations: 0 / 462.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/0.362, allocations: 91.88 kB / 462.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007995/0.3628, allocations: 330.2 kB / 463.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.666e-05/0.3629, allocations: 23.98 kB / 463.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.3642, allocations: 0.8935 MB / 464.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.3642, allocations: 4.031 kB / 464.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005332/0.3695, allocations: 1.63 MB / 465.7 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003904/0.3699, allocations: 219.9 kB / 466 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.3701, allocations: 23.98 kB / 466 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005877/0.3707, allocations: 47.97 kB / 466 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.095e-05/0.3708, allocations: 40.38 kB / 466.1 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-05/0.3708, allocations: 27.98 kB / 466.1 MB, free: 9.402 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005638/0.3714, allocations: 467 kB / 466.6 MB, free: 8.953 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3714, allocations: 4 kB / 466.6 MB, free: 8.949 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009481/0.3724, allocations: 315 kB / 466.9 MB, free: 8.641 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.001347/0.3737, allocations: 0.6629 MB / 467.5 MB, free: 8.211 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002095/0.3758, allocations: 0.9901 MB / 468.5 MB, free: 7.184 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3759, allocations: 0 / 468.5 MB, free: 7.184 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008351/0.3767, allocations: 490.6 kB / 469 MB, free: 6.684 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009148/0.3776, allocations: 179.7 kB / 469.2 MB, free: 6.512 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003348/0.381, allocations: 2.2 MB / 471.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/0.3815, allocations: 1.006 MB / 472.4 MB, free: 3.234 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/0.3818, allocations: 83.33 kB / 472.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3818, allocations: 0 / 472.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of Templates: time 0.02201/0.4039, allocations: 17.27 MB / 489.7 MB, free: 1.926 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe 2>&1)