Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_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_Comax_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03929/0.03929, allocations: 5.393 MB / 21.56 MB, free: 1.574 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.001377/0.001377, allocations: 103 kB / 23.55 MB, free: 0.832 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.001744/0.001744, allocations: 198.2 kB / 25.68 MB, free: 4.883 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.4/1.4, allocations: 222.9 MB / 250.6 MB, free: 8.527 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009902/0.009902, allocations: 2.315 MB / 304.2 MB, free: 6.559 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001869/0.00187, allocations: 87.86 kB / 367.8 MB, free: 6.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1871, allocations: 51.21 MB / 419 MB, free: 26.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808): time 0.006146/0.1933, allocations: 6.885 MB / 425.9 MB, free: 19.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004952/0.1983, allocations: 4.021 MB / 429.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006626/0.199, allocations: 19.94 kB / 430 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002319/0.2013, allocations: 1.166 MB / 431.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00162/0.203, allocations: 0.8779 MB / 432 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.2045, allocations: 0.6202 MB / 432.6 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001053/0.2056, allocations: 1.39 MB / 434 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.2067, allocations: 1.021 MB / 435 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004908/0.2072, allocations: 0.572 MB / 435.6 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006213/0.2078, allocations: 0.6846 MB / 436.3 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.208, allocations: 140 kB / 436.4 MB, free: 8.938 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006601/0.2086, allocations: 431.7 kB / 436.9 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.2088, allocations: 294.8 kB / 437.1 MB, free: 8.227 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003841/0.2092, allocations: 0.6336 MB / 437.8 MB, free: 7.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.2104, allocations: 1.733 MB / 439.5 MB, free: 5.852 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2104, allocations: 0 / 439.5 MB, free: 5.852 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2105, allocations: 0 / 439.5 MB, free: 5.852 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.2105, allocations: 0 / 439.5 MB, free: 5.852 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.003457/0.2139, allocations: 1.802 MB / 441.3 MB, free: 3.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.214, allocations: 8.031 kB / 441.3 MB, free: 3.973 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/0.216, allocations: 387 kB / 441.7 MB, free: 3.594 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/0.2174, allocations: 0.7932 MB / 442.5 MB, free: 2.758 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.032e-05/0.2175, allocations: 85.98 kB / 442.6 MB, free: 2.672 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.2176, allocations: 103.9 kB / 442.7 MB, free: 2.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/0.2193, allocations: 1.13 MB / 443.8 MB, free: 1.383 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.2193, allocations: 7.938 kB / 443.8 MB, free: 1.375 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.871e-05/0.2194, allocations: 40 kB / 443.9 MB, free: 1.336 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.2194, allocations: 24 kB / 443.9 MB, free: 1.312 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.2211, allocations: 0.9485 MB / 444.8 MB, free: 376 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005996/0.2271, allocations: 4.345 MB / 449.2 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003358/0.2305, allocations: 1.67 MB / 450.8 MB, free: 9.918 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009734/0.2315, allocations: 320.6 kB / 451.2 MB, free: 9.598 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001373/0.2317, allocations: 89.48 kB / 451.2 MB, free: 9.492 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001303/0.233, allocations: 466.5 kB / 451.7 MB, free: 9.004 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 3.827e-06/0.233, allocations: 0 / 451.7 MB, free: 9.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.008242/0.2412, allocations: 1.545 MB / 453.2 MB, free: 7.426 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001747/0.2415, allocations: 269.6 kB / 453.5 MB, free: 7.102 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.2428, allocations: 0.6643 MB / 454.2 MB, free: 6.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.281e-05/0.2429, allocations: 37.7 kB / 454.2 MB, free: 6.387 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005809/0.2434, allocations: 0.5257 MB / 454.7 MB, free: 5.852 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002784/0.2437, allocations: 213.1 kB / 454.9 MB, free: 5.641 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004423/0.2442, allocations: 186.4 kB / 455.1 MB, free: 5.453 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002473/0.2445, allocations: 386.8 kB / 455.5 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.2455, allocations: 285.8 kB / 455.8 MB, free: 4.785 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.2468, allocations: 0.5286 MB / 456.3 MB, free: 4.148 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001962/0.2488, allocations: 0.9216 MB / 457.2 MB, free: 3.098 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/0.2488, allocations: 7.938 kB / 457.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003252/0.252, allocations: 1.067 MB / 458.3 MB, free: 2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.176e-05/0.2521, allocations: 65.91 kB / 458.4 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.2522, allocations: 8.281 kB / 458.4 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006161/0.2528, allocations: 88.78 kB / 458.5 MB, free: 1.828 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.254, allocations: 215.6 kB / 458.7 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/0.2561, allocations: 1.59 MB / 460.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.2572, allocations: 115.2 kB / 460.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.2574, allocations: 39.98 kB / 460.4 MB, free: 15.73 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.0006336/0.258, allocations: 335.5 kB / 460.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002362/0.2582, allocations: 83 kB / 460.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002812/0.2611, allocations: 0.9245 MB / 461.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.2611, allocations: 11.98 kB / 461.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.2611, allocations: 0 / 461.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.2611, allocations: 0 / 461.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008048/0.2692, allocations: 2.21 MB / 464 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.2692, allocations: 0 / 464 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005433/0.2698, allocations: 91.78 kB / 464.1 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001177/0.271, allocations: 326.3 kB / 464.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-05/0.2711, allocations: 23.98 kB / 464.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/0.2729, allocations: 0.8935 MB / 465.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2729, allocations: 0 / 465.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007317/0.2802, allocations: 1.63 MB / 466.9 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005222/0.2808, allocations: 223.9 kB / 467.1 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002517/0.2811, allocations: 23.98 kB / 467.2 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008658/0.2819, allocations: 43.97 kB / 467.2 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.2821, allocations: 44.45 kB / 467.3 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.2822, allocations: 27.98 kB / 467.3 MB, free: 8.621 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009763/0.2832, allocations: 471 kB / 467.7 MB, free: 8.168 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.2832, allocations: 0 / 467.7 MB, free: 8.168 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001053/0.2843, allocations: 315 kB / 468.1 MB, free: 7.859 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.001502/0.2858, allocations: 0.6597 MB / 468.7 MB, free: 7.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002384/0.2882, allocations: 0.994 MB / 469.7 MB, free: 6.395 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.2882, allocations: 1.438 kB / 469.7 MB, free: 6.395 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009599/0.2892, allocations: 485.2 kB / 470.2 MB, free: 5.898 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.2904, allocations: 181.1 kB / 470.4 MB, free: 5.727 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003621/0.294, allocations: 1.773 MB / 472.1 MB, free: 3.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006851/0.2947, allocations: 1.006 MB / 473.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/0.295, allocations: 79.39 kB / 473.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.295, allocations: 4 kB / 473.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of Templates: time 0.02386/0.3188, allocations: 17.26 MB / 490.5 MB, free: 1.57 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe 2>&1)