Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.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_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03044/0.03044, allocations: 5.402 MB / 21.66 MB, free: 1.203 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.000989/0.000989, allocations: 110.8 kB / 23.66 MB, free: 0.6641 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.00108/0.00108, allocations: 199.1 kB / 25.78 MB, free: 4.523 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.198/1.198, allocations: 222.9 MB / 250.7 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.008856/0.008856, allocations: 2.32 MB / 304.3 MB, free: 6.496 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 95.84 kB / 368.6 MB, free: 6.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.185, allocations: 51.21 MB / 419.8 MB, free: 26.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629): time 0.005857/0.1909, allocations: 6.891 MB / 426.7 MB, free: 19.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004459/0.1954, allocations: 4.021 MB / 430.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005122/0.1959, allocations: 23.94 kB / 430.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002018/0.198, allocations: 1.162 MB / 431.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.1994, allocations: 0.8895 MB / 432.8 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.2008, allocations: 0.6151 MB / 433.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009246/0.2017, allocations: 1.402 MB / 434.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009577/0.2027, allocations: 1.013 MB / 435.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004289/0.2031, allocations: 0.5759 MB / 436.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005694/0.2037, allocations: 0.6769 MB / 437.1 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.2038, allocations: 140 kB / 437.2 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005711/0.2044, allocations: 439.6 kB / 437.7 MB, free: 8.367 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.2046, allocations: 291 kB / 437.9 MB, free: 8.082 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003524/0.2049, allocations: 0.6297 MB / 438.6 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.2061, allocations: 1.76 MB / 440.3 MB, free: 5.684 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2061, allocations: 0 / 440.3 MB, free: 5.684 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2061, allocations: 0 / 440.3 MB, free: 5.684 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.2061, allocations: 4 kB / 440.3 MB, free: 5.68 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.003142/0.2093, allocations: 1.801 MB / 442.1 MB, free: 3.812 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.2093, allocations: 8.031 kB / 442.1 MB, free: 3.805 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/0.2111, allocations: 383 kB / 442.5 MB, free: 3.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.2126, allocations: 0.8049 MB / 443.3 MB, free: 2.582 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/0.2126, allocations: 81.94 kB / 443.4 MB, free: 2.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.2128, allocations: 107.9 kB / 443.5 MB, free: 2.395 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.2143, allocations: 1.134 MB / 444.6 MB, free: 1.203 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.2143, allocations: 3.938 kB / 444.6 MB, free: 1.199 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.103e-05/0.2144, allocations: 44 kB / 444.7 MB, free: 1.156 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.2144, allocations: 24 kB / 444.7 MB, free: 1.133 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.216, allocations: 0.9486 MB / 445.7 MB, free: 192 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005358/0.2213, allocations: 4.31 MB / 450 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0023/0.2237, allocations: 1.666 MB / 451.6 MB, free: 9.777 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006063/0.2243, allocations: 312 kB / 451.9 MB, free: 9.465 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.654e-05/0.2244, allocations: 93.53 kB / 452 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007478/0.2251, allocations: 462.5 kB / 452.5 MB, free: 8.871 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 3.697e-06/0.2251, allocations: 4 kB / 452.5 MB, free: 8.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.005429/0.2306, allocations: 1.544 MB / 454 MB, free: 7.289 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.2307, allocations: 277.6 kB / 454.3 MB, free: 6.957 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007469/0.2315, allocations: 0.6643 MB / 455 MB, free: 6.285 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/0.2315, allocations: 41.7 kB / 455 MB, free: 6.238 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003175/0.2318, allocations: 0.514 MB / 455.5 MB, free: 5.715 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.232, allocations: 217.1 kB / 455.7 MB, free: 5.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/0.2323, allocations: 190.4 kB / 455.9 MB, free: 5.309 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.2324, allocations: 382.8 kB / 456.3 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000595/0.233, allocations: 285.8 kB / 456.6 MB, free: 4.645 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007232/0.2337, allocations: 0.5325 MB / 457.1 MB, free: 4.004 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.2351, allocations: 0.9177 MB / 458 MB, free: 2.957 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.2351, allocations: 11.94 kB / 458 MB, free: 2.945 MB / 318.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001998/0.2371, allocations: 1.071 MB / 459.1 MB, free: 1.852 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.651e-05/0.2371, allocations: 62.06 kB / 459.2 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.2372, allocations: 8 kB / 459.2 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004559/0.2376, allocations: 85.06 kB / 459.3 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00081/0.2384, allocations: 219.6 kB / 459.5 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.2398, allocations: 1.586 MB / 461.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007135/0.2406, allocations: 115.1 kB / 461.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.555e-05/0.2406, allocations: 43.98 kB / 461.2 MB, free: 15.59 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.0004172/0.2411, allocations: 327.6 kB / 461.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.2412, allocations: 95 kB / 461.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/0.243, allocations: 0.9089 MB / 462.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.243, allocations: 8 kB / 462.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.243, allocations: 0 / 462.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.243, allocations: 7.984 kB / 462.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00551/0.2485, allocations: 2.199 MB / 464.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.2486, allocations: 3.984 kB / 464.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003368/0.2489, allocations: 87.94 kB / 464.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007557/0.2497, allocations: 326.3 kB / 465.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-05/0.2497, allocations: 23.98 kB / 465.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.2509, allocations: 0.8974 MB / 466.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.2509, allocations: 4.031 kB / 466.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004887/0.2558, allocations: 1.631 MB / 467.7 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003384/0.2562, allocations: 215.9 kB / 467.9 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.2563, allocations: 24 kB / 467.9 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005415/0.2569, allocations: 55.89 kB / 468 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.578e-05/0.257, allocations: 36.39 kB / 468 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.037e-05/0.257, allocations: 35.97 kB / 468.1 MB, free: 8.488 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005371/0.2576, allocations: 467 kB / 468.5 MB, free: 8.039 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2576, allocations: 0 / 468.5 MB, free: 8.039 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008811/0.2585, allocations: 315 kB / 468.8 MB, free: 7.73 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.00137/0.2598, allocations: 0.6656 MB / 469.5 MB, free: 7.297 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001738/0.2616, allocations: 0.9706 MB / 470.5 MB, free: 6.281 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2616, allocations: 0 / 470.5 MB, free: 6.281 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007749/0.2624, allocations: 482.6 kB / 470.9 MB, free: 5.789 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007802/0.2632, allocations: 164.1 kB / 471.1 MB, free: 5.629 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/0.2659, allocations: 1.706 MB / 472.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000492/0.2664, allocations: 1.014 MB / 473.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003753/0.2668, allocations: 126.3 kB / 473.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.267, allocations: 75.41 kB / 474 MB, free: 2.645 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.267, allocations: 0 / 474 MB, free: 2.645 MB / 334.1 MB Notification: Performance of Templates: time 0.0186/0.2856, allocations: 12.17 MB / 486.2 MB, free: 6.559 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe 2>&1)