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.02494/0.02494, allocations: 5.398 MB / 21.65 MB, free: 1.07 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.001299/0.001299, allocations: 104.5 kB / 23.65 MB, free: 0.7656 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.001186/0.001187, allocations: 202.2 kB / 25.77 MB, free: 4.527 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.428/1.428, allocations: 222.9 MB / 250.6 MB, free: 8.461 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009305/0.009305, allocations: 2.323 MB / 304.3 MB, free: 6.523 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 99.83 kB / 368.6 MB, free: 6.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2256, allocations: 51.2 MB / 419.8 MB, free: 26.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004): time 0.006255/0.2319, allocations: 6.887 MB / 426.7 MB, free: 19.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005574/0.2375, allocations: 4.021 MB / 430.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008226/0.2383, allocations: 23.94 kB / 430.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002241/0.2406, allocations: 1.173 MB / 431.9 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001584/0.2422, allocations: 0.874 MB / 432.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.2438, allocations: 0.6192 MB / 433.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001019/0.2448, allocations: 1.402 MB / 434.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009992/0.2458, allocations: 1.013 MB / 435.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000468/0.2463, allocations: 0.5604 MB / 436.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000594/0.2469, allocations: 0.6963 MB / 437.1 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.247, allocations: 140 kB / 437.2 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000603/0.2476, allocations: 431.7 kB / 437.6 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001739/0.2478, allocations: 294.9 kB / 437.9 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003749/0.2482, allocations: 0.6336 MB / 438.6 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.2494, allocations: 1.756 MB / 440.3 MB, free: 5.707 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.2494, allocations: 0 / 440.3 MB, free: 5.707 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2495, allocations: 0 / 440.3 MB, free: 5.707 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.2495, allocations: 0 / 440.3 MB, free: 5.707 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.003312/0.2528, allocations: 1.806 MB / 442.1 MB, free: 3.832 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2528, allocations: 8.031 kB / 442.1 MB, free: 3.824 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001915/0.2548, allocations: 383.1 kB / 442.5 MB, free: 3.449 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.2562, allocations: 0.8049 MB / 443.3 MB, free: 2.602 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.079e-05/0.2563, allocations: 78 kB / 443.4 MB, free: 2.523 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.2564, allocations: 103.9 kB / 443.5 MB, free: 2.422 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.258, allocations: 1.13 MB / 444.6 MB, free: 1.234 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/0.2581, allocations: 4 kB / 444.6 MB, free: 1.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-05/0.2582, allocations: 47.98 kB / 444.7 MB, free: 1.184 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.2582, allocations: 24 kB / 444.7 MB, free: 1.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/0.2598, allocations: 0.9447 MB / 445.6 MB, free: 224 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005954/0.2658, allocations: 4.318 MB / 450 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/0.2684, allocations: 1.67 MB / 451.6 MB, free: 9.797 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006697/0.2691, allocations: 312.6 kB / 451.9 MB, free: 9.484 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.2692, allocations: 97.53 kB / 452 MB, free: 9.371 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008673/0.2701, allocations: 458.6 kB / 452.5 MB, free: 8.891 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 2.675e-06/0.2701, allocations: 4 kB / 452.5 MB, free: 8.887 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.005744/0.2758, allocations: 1.537 MB / 454 MB, free: 7.316 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/0.276, allocations: 277.5 kB / 454.3 MB, free: 6.984 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009039/0.2769, allocations: 0.6682 MB / 455 MB, free: 6.309 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.114e-05/0.277, allocations: 41.69 kB / 455 MB, free: 6.262 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004166/0.2774, allocations: 0.5179 MB / 455.5 MB, free: 5.734 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/0.2776, allocations: 213.1 kB / 455.7 MB, free: 5.523 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002783/0.2779, allocations: 182.4 kB / 455.9 MB, free: 5.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.2781, allocations: 386.8 kB / 456.3 MB, free: 4.953 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006344/0.2787, allocations: 289.8 kB / 456.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007843/0.2795, allocations: 0.5325 MB / 457.1 MB, free: 4.027 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.2809, allocations: 0.9218 MB / 458 MB, free: 2.977 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.2809, allocations: 3.938 kB / 458 MB, free: 2.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002133/0.2831, allocations: 1.074 MB / 459.1 MB, free: 1.875 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.484e-05/0.2831, allocations: 63.39 kB / 459.2 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.2831, allocations: 8 kB / 459.2 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004736/0.2836, allocations: 93 kB / 459.3 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008326/0.2845, allocations: 215.7 kB / 459.5 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/0.286, allocations: 1.577 MB / 461 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007692/0.2868, allocations: 111.3 kB / 461.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.921e-05/0.2869, allocations: 51.91 kB / 461.2 MB, free: 15.61 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.0004615/0.2873, allocations: 327.6 kB / 461.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.2875, allocations: 87 kB / 461.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/0.2893, allocations: 0.9167 MB / 462.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.2894, allocations: 8 kB / 462.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.2894, allocations: 0 / 462.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.2894, allocations: 7.984 kB / 462.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005626/0.295, allocations: 2.199 MB / 464.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.295, allocations: 4.062 kB / 464.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003329/0.2954, allocations: 91.83 kB / 464.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008253/0.2962, allocations: 326.3 kB / 465.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-05/0.2963, allocations: 27.97 kB / 465.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.2976, allocations: 0.8857 MB / 466.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.2976, allocations: 4.031 kB / 466.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005078/0.3027, allocations: 1.631 MB / 467.7 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003807/0.3031, allocations: 223.9 kB / 467.9 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.3032, allocations: 20 kB / 467.9 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005708/0.3038, allocations: 51.95 kB / 468 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.871e-05/0.3039, allocations: 40.39 kB / 468 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.047e-05/0.304, allocations: 31.91 kB / 468.1 MB, free: 8.512 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006007/0.3046, allocations: 467 kB / 468.5 MB, free: 8.062 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3046, allocations: 0 / 468.5 MB, free: 8.062 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001023/0.3056, allocations: 315 kB / 468.8 MB, free: 7.754 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.001443/0.3071, allocations: 0.6692 MB / 469.5 MB, free: 7.316 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001882/0.309, allocations: 0.9675 MB / 470.5 MB, free: 6.305 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.309, allocations: 4 kB / 470.5 MB, free: 6.301 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008262/0.3098, allocations: 481.9 kB / 470.9 MB, free: 5.809 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007931/0.3106, allocations: 167.3 kB / 471.1 MB, free: 5.648 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.3135, allocations: 1.71 MB / 472.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005438/0.3141, allocations: 1.01 MB / 473.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004118/0.3145, allocations: 122.4 kB / 473.9 MB, free: 2.738 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.3147, allocations: 79.41 kB / 474 MB, free: 2.664 MB / 334.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3147, allocations: 0 / 474 MB, free: 2.664 MB / 334.1 MB Notification: Performance of Templates: time 0.02049/0.3352, allocations: 12.18 MB / 486.2 MB, free: 6.57 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 -s cvode -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe 2>&1)