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.0311/0.0311, allocations: 5.386 MB / 20.34 MB, free: 1.836 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.0008736/0.0008735, allocations: 106 kB / 22.31 MB, free: 0.6016 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.001138/0.001138, allocations: 185.5 kB / 24.39 MB, free: 1.848 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.392/1.392, allocations: 223.2 MB / 249.5 MB, free: 13.85 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008401/0.008401, allocations: 2.322 MB / 304.1 MB, free: 4.531 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003903, allocations: 12 kB / 368.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.099/0.09941, allocations: 52.21 MB / 420.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004): time 0.006063/0.1055, allocations: 5.674 MB / 426 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1628/0.2683, allocations: 3.685 MB / 429.7 MB, free: 34.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005486/0.2689, allocations: 21.19 kB / 429.7 MB, free: 34.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008414/0.2698, allocations: 381.5 kB / 430.1 MB, free: 34.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.2715, allocations: 0.7567 MB / 430.8 MB, free: 34.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.2727, allocations: 474.6 kB / 431.3 MB, free: 34.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001355/0.274, allocations: 0.8854 MB / 432.2 MB, free: 34.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001782/0.2758, allocations: 1.229 MB / 433.4 MB, free: 34.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005248/0.2764, allocations: 444.3 kB / 433.9 MB, free: 34.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006168/0.277, allocations: 0.5277 MB / 434.4 MB, free: 34.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.2771, allocations: 58.25 kB / 434.4 MB, free: 34.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005713/0.2777, allocations: 291 kB / 434.7 MB, free: 34.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.2778, allocations: 197 kB / 434.9 MB, free: 33.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.278, allocations: 229.8 kB / 435.1 MB, free: 33.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000973/0.279, allocations: 1.299 MB / 436.4 MB, free: 33.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.279, allocations: 0.5 kB / 436.4 MB, free: 33.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.279, allocations: 1.781 kB / 436.4 MB, free: 33.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.279, allocations: 0 / 436.4 MB, free: 33.83 MB / 350.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.003048/0.2821, allocations: 1.587 MB / 438 MB, free: 32.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.2821, allocations: 9.688 kB / 438 MB, free: 32.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001946/0.2841, allocations: 384.7 kB / 438.4 MB, free: 32.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.2856, allocations: 0.7835 MB / 439.2 MB, free: 32.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.016e-05/0.2856, allocations: 81.09 kB / 439.3 MB, free: 32.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.2858, allocations: 104.5 kB / 439.4 MB, free: 32.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.2874, allocations: 1.124 MB / 440.5 MB, free: 32.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.2874, allocations: 0 / 440.5 MB, free: 32.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.794e-05/0.2875, allocations: 47.95 kB / 440.6 MB, free: 32.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.2876, allocations: 26.09 kB / 440.6 MB, free: 32.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/0.2892, allocations: 0.9422 MB / 441.5 MB, free: 32.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004734/0.2939, allocations: 4.355 MB / 445.9 MB, free: 30.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002031/0.296, allocations: 1.682 MB / 447.6 MB, free: 29.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.233e-05/0.2961, allocations: 101 kB / 447.7 MB, free: 29.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007029/0.2968, allocations: 455.5 kB / 448.1 MB, free: 29.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.454e-06/0.2968, allocations: 0 / 448.1 MB, free: 29.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.005156/0.302, allocations: 1.667 MB / 449.8 MB, free: 28.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.302, allocations: 269.9 kB / 450 MB, free: 28.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006372/0.3027, allocations: 0.6631 MB / 450.7 MB, free: 28.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.321e-05/0.3027, allocations: 38.02 kB / 450.7 MB, free: 28.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.303, allocations: 0.5202 MB / 451.3 MB, free: 27.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.3031, allocations: 209.5 kB / 451.5 MB, free: 27.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.078e-05/0.3032, allocations: 20.75 kB / 451.5 MB, free: 27.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3033, allocations: 387.9 kB / 451.9 MB, free: 27.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005416/0.3039, allocations: 284.1 kB / 452.1 MB, free: 27.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006848/0.3046, allocations: 0.5386 MB / 452.7 MB, free: 27.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006266/0.3052, allocations: 407.5 kB / 453.1 MB, free: 26.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.3052, allocations: 3.094 kB / 453.1 MB, free: 26.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001755/0.307, allocations: 1.074 MB / 454.1 MB, free: 26.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.871e-05/0.307, allocations: 68.27 kB / 454.2 MB, free: 26.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.307, allocations: 9.5 kB / 454.2 MB, free: 26.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000438/0.3075, allocations: 93.48 kB / 454.3 MB, free: 26.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007626/0.3083, allocations: 215.2 kB / 454.5 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.3093, allocations: 1.484 MB / 456 MB, free: 24.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006936/0.31, allocations: 115.4 kB / 456.1 MB, free: 24.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.599e-05/0.3101, allocations: 40.09 kB / 456.2 MB, free: 24.88 MB / 350.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 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition4,$PRE.irradianceTable.nextTimeEvent,$whenCondition3,writeCSV.sampleTrigger,$whenCondition2,mpTracker.sampleTrigger,$whenCondition1,$PRE.powerTable.nextTimeEvent,powerTable.nextTimeEvent,$PRE.powerTable.nextTimeEventScaled,powerTable.nextTimeEventScaled,$PRE.mpTracker.vRef,mpTracker.vRef,irradianceTable.nextTimeEvent,$PRE.irradianceTable.nextTimeEventScaled,irradianceTable.nextTimeEventScaled,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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003886/0.3105, allocations: 338.5 kB / 456.5 MB, free: 24.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.3106, allocations: 85 kB / 456.6 MB, free: 24.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.3122, allocations: 0.9253 MB / 457.5 MB, free: 24.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.3122, allocations: 6.344 kB / 457.5 MB, free: 24.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3122, allocations: 3.516 kB / 457.5 MB, free: 24.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.3122, allocations: 0 / 457.5 MB, free: 24.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005053/0.3173, allocations: 2.246 MB / 459.8 MB, free: 23.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.3173, allocations: 3.219 kB / 459.8 MB, free: 23.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003092/0.3176, allocations: 82.92 kB / 459.8 MB, free: 23.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006803/0.3183, allocations: 342 kB / 460.2 MB, free: 23.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/0.3184, allocations: 24.7 kB / 460.2 MB, free: 23.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/0.3194, allocations: 0.9041 MB / 461.1 MB, free: 22.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3194, allocations: 3.344 kB / 461.1 MB, free: 22.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004456/0.3239, allocations: 1.694 MB / 462.8 MB, free: 21.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/0.3242, allocations: 231.8 kB / 463 MB, free: 21.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.3243, allocations: 20.41 kB / 463 MB, free: 21.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000516/0.3248, allocations: 53.86 kB / 463.1 MB, free: 21.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.535e-05/0.3249, allocations: 48.16 kB / 463.1 MB, free: 21.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.048e-05/0.3249, allocations: 28.7 kB / 463.2 MB, free: 21.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004347/0.3254, allocations: 464.6 kB / 463.6 MB, free: 21.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3254, allocations: 0 / 463.6 MB, free: 21.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008011/0.3262, allocations: 320.1 kB / 463.9 MB, free: 21.09 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001179/0.3274, allocations: 0.6659 MB / 464.6 MB, free: 20.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.3289, allocations: 0.9565 MB / 465.6 MB, free: 20.42 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3289, allocations: 4.062 kB / 465.6 MB, free: 20.42 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006721/0.3295, allocations: 489.5 kB / 466 MB, free: 20.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006514/0.3302, allocations: 151.6 kB / 466.2 MB, free: 20.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.3328, allocations: 2.107 MB / 468.3 MB, free: 18.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.3332, allocations: 1.034 MB / 469.3 MB, free: 18.1 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004274/0.3336, allocations: 121.7 kB / 469.5 MB, free: 18.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.3338, allocations: 73.7 kB / 469.5 MB, free: 18.05 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3338, allocations: 0 / 469.5 MB, free: 18.05 MB / 350.1 MB Notification: Performance of Templates: time 0.01981/0.3536, allocations: 11.28 MB / 480.8 MB, free: 16.94 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: