Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_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_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.04173/0.04173, allocations: 5.391 MB / 20.89 MB, free: 1.363 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.009303/0.009303, allocations: 105.4 kB / 22.89 MB, free: 0.7539 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.001516/0.001516, allocations: 192.5 kB / 25 MB, free: 144 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 249.9 MB, free: 8.504 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009124/0.009124, allocations: 2.325 MB / 303.5 MB, free: 6.535 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 91.84 kB / 367.2 MB, free: 6.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.2001, allocations: 51.21 MB / 418.4 MB, free: 26.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.005802/0.206, allocations: 6.839 MB / 425.2 MB, free: 19.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004126/0.2101, allocations: 3.951 MB / 429.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003776/0.2105, allocations: 23.94 kB / 429.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002094/0.2126, allocations: 1.155 MB / 430.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00128/0.2139, allocations: 0.8506 MB / 431.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.2152, allocations: 0.5538 MB / 431.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008231/0.216, allocations: 1.39 MB / 433.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.217, allocations: 1.021 MB / 434.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003867/0.2174, allocations: 0.5642 MB / 434.7 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00053/0.2179, allocations: 0.6847 MB / 435.4 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.2181, allocations: 144 kB / 435.5 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005393/0.2186, allocations: 439.6 kB / 436 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.2188, allocations: 310.9 kB / 436.3 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003723/0.2192, allocations: 0.6414 MB / 436.9 MB, free: 7.777 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.2203, allocations: 1.776 MB / 438.7 MB, free: 5.996 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2203, allocations: 0 / 438.7 MB, free: 5.996 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2203, allocations: 0 / 438.7 MB, free: 5.996 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.2204, allocations: 0 / 438.7 MB, free: 5.996 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.003282/0.2237, allocations: 1.81 MB / 440.5 MB, free: 4.117 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.2237, allocations: 12.03 kB / 440.5 MB, free: 4.105 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002041/0.2257, allocations: 383.1 kB / 440.9 MB, free: 3.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.2272, allocations: 0.8127 MB / 441.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.311e-05/0.2272, allocations: 78.08 kB / 441.8 MB, free: 2.793 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.2273, allocations: 112 kB / 441.9 MB, free: 2.684 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.2289, allocations: 1.169 MB / 443.1 MB, free: 1.453 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.229, allocations: 3.938 kB / 443.1 MB, free: 1.449 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.103e-05/0.2291, allocations: 48 kB / 443.1 MB, free: 1.402 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.2291, allocations: 24 kB / 443.1 MB, free: 1.379 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.2308, allocations: 1.073 MB / 444.2 MB, free: 316 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005891/0.2368, allocations: 4.38 MB / 448.6 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002622/0.2394, allocations: 1.748 MB / 450.3 MB, free: 9.766 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006615/0.2401, allocations: 323.8 kB / 450.6 MB, free: 9.445 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.868e-05/0.2402, allocations: 93.67 kB / 450.7 MB, free: 9.332 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000842/0.241, allocations: 465.7 kB / 451.2 MB, free: 8.852 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.815e-06/0.241, allocations: 4 kB / 451.2 MB, free: 8.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.005788/0.2468, allocations: 1.588 MB / 452.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.247, allocations: 226.1 kB / 453 MB, free: 6.949 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008169/0.2478, allocations: 0.6447 MB / 453.6 MB, free: 6.297 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.336e-05/0.2478, allocations: 45.69 kB / 453.7 MB, free: 6.246 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000393/0.2482, allocations: 0.518 MB / 454.2 MB, free: 5.719 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002245/0.2485, allocations: 236.8 kB / 454.4 MB, free: 5.484 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002787/0.2488, allocations: 186.5 kB / 454.6 MB, free: 5.297 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.2489, allocations: 390.7 kB / 455 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006647/0.2496, allocations: 297.8 kB / 455.3 MB, free: 4.613 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008108/0.2504, allocations: 0.5386 MB / 455.8 MB, free: 3.973 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.252, allocations: 0.9399 MB / 456.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-06/0.252, allocations: 4 kB / 456.8 MB, free: 2.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002315/0.2543, allocations: 1.106 MB / 457.9 MB, free: 1.777 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.13e-05/0.2544, allocations: 67.41 kB / 457.9 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.2544, allocations: 7.938 kB / 458 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004969/0.2549, allocations: 89.06 kB / 458 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008517/0.2558, allocations: 219.6 kB / 458.3 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/0.2574, allocations: 1.589 MB / 459.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007194/0.2581, allocations: 111.2 kB / 460 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.208e-05/0.2582, allocations: 43.98 kB / 460 MB, free: 15.5 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,$PRE.combiTimeTable.nextTimeEvent,$whenCondition3,writeCSV.sampleTrigger,$whenCondition2,mpTracker.sampleTrigger,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.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 (118): * Single equations (assignments): 115 * 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.0004689/0.2587, allocations: 339.1 kB / 460.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.2588, allocations: 79.06 kB / 460.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/0.261, allocations: 1.014 MB / 461.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.261, allocations: 8 kB / 461.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.261, allocations: 0 / 461.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/0.261, allocations: 3.984 kB / 461.4 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006037/0.267, allocations: 2.306 MB / 463.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.2671, allocations: 4 kB / 463.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003762/0.2674, allocations: 103.9 kB / 463.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008306/0.2683, allocations: 326.3 kB / 464.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.146e-05/0.2684, allocations: 23.98 kB / 464.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/0.2697, allocations: 0.909 MB / 465.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2697, allocations: 4.031 kB / 465.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00265/0.2723, allocations: 1.397 MB / 466.5 MB, free: 8.793 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000288/0.2726, allocations: 223.9 kB / 466.7 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.2728, allocations: 23.94 kB / 466.7 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005608/0.2733, allocations: 47.97 kB / 466.8 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.237e-05/0.2734, allocations: 40.5 kB / 466.8 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.257e-05/0.2735, allocations: 40.03 kB / 466.9 MB, free: 8.402 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005349/0.2741, allocations: 455 kB / 467.3 MB, free: 7.961 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2741, allocations: 3.938 kB / 467.3 MB, free: 7.957 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008822/0.275, allocations: 319 kB / 467.6 MB, free: 7.645 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (voltageSource.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 12 ($whenCondition3,$whenCondition1,$whenCondition2,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 12 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition2,writeCSV.sampleTrigger) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.001363/0.2763, allocations: 0.6597 MB / 468.3 MB, free: 7.219 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002069/0.2784, allocations: 1.02 MB / 469.3 MB, free: 6.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2784, allocations: 4.062 kB / 469.3 MB, free: 6.156 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008535/0.2793, allocations: 497.8 kB / 469.8 MB, free: 5.645 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008049/0.2801, allocations: 154.5 kB / 469.9 MB, free: 5.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002963/0.2831, allocations: 1.764 MB / 471.7 MB, free: 3.699 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005612/0.2837, allocations: 1.014 MB / 472.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004804/0.2841, allocations: 130.4 kB / 472.9 MB, free: 2.527 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.2844, allocations: 87.34 kB / 472.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2844, allocations: 0 / 472.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of Templates: time 0.02126/0.3057, allocations: 12.09 MB / 485 MB, free: 6.449 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe 2>&1)