Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_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_Trina_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02463/0.02463, allocations: 5.396 MB / 21.28 MB, free: 1.777 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.0009612/0.0009614, allocations: 114.4 kB / 23.27 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 191.1 kB / 25.37 MB, free: 0.5625 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.269/1.269, allocations: 222.9 MB / 250.2 MB, free: 8.699 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009314/0.009314, allocations: 2.319 MB / 303.9 MB, free: 6.707 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 92.23 kB / 367.3 MB, free: 7.258 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1855, allocations: 51.21 MB / 418.5 MB, free: 26.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.005797/0.1913, allocations: 6.823 MB / 425.3 MB, free: 19.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004379/0.1957, allocations: 3.862 MB / 429.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007712/0.1965, allocations: 23.94 kB / 429.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002377/0.1989, allocations: 1.085 MB / 430.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001738/0.2006, allocations: 0.7659 MB / 431 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.2021, allocations: 0.4903 MB / 431.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001054/0.2031, allocations: 1.39 MB / 432.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.2042, allocations: 1.095 MB / 434 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004749/0.2047, allocations: 0.5564 MB / 434.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005292/0.2052, allocations: 0.6886 MB / 435.3 MB, free: 9.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.2054, allocations: 148 kB / 435.4 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006188/0.206, allocations: 435.7 kB / 435.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.2062, allocations: 318.9 kB / 436.1 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003722/0.2066, allocations: 0.6374 MB / 436.8 MB, free: 8.207 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.2076, allocations: 1.38 MB / 438.2 MB, free: 6.824 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2076, allocations: 0 / 438.2 MB, free: 6.824 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2076, allocations: 3.938 kB / 438.2 MB, free: 6.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.2076, allocations: 4 kB / 438.2 MB, free: 6.816 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.003402/0.211, allocations: 1.81 MB / 440 MB, free: 4.938 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.2111, allocations: 8.031 kB / 440 MB, free: 4.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001998/0.2131, allocations: 379.1 kB / 440.4 MB, free: 4.559 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.2146, allocations: 0.8204 MB / 441.2 MB, free: 3.695 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.316e-05/0.2146, allocations: 82.08 kB / 441.3 MB, free: 3.613 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.2148, allocations: 104 kB / 441.4 MB, free: 3.512 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.2164, allocations: 1.173 MB / 442.5 MB, free: 2.277 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.2165, allocations: 8 kB / 442.5 MB, free: 2.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-05/0.2166, allocations: 40 kB / 442.6 MB, free: 2.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.2166, allocations: 31.94 kB / 442.6 MB, free: 2.199 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001706/0.2183, allocations: 1.07 MB / 443.7 MB, free: 1.133 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005597/0.2239, allocations: 4.38 MB / 448.1 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002495/0.2264, allocations: 1.742 MB / 449.8 MB, free: 10.6 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006331/0.2271, allocations: 327.3 kB / 450.1 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.2272, allocations: 97.64 kB / 450.2 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008564/0.2281, allocations: 469.6 kB / 450.7 MB, free: 9.672 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.455e-06/0.2281, allocations: 0 / 450.7 MB, free: 9.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.005838/0.2339, allocations: 1.588 MB / 452.3 MB, free: 8.047 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.234, allocations: 226.2 kB / 452.5 MB, free: 7.777 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007326/0.2348, allocations: 0.6485 MB / 453.1 MB, free: 7.121 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.379e-05/0.2348, allocations: 45.7 kB / 453.2 MB, free: 7.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000341/0.2352, allocations: 0.518 MB / 453.7 MB, free: 6.543 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/0.2354, allocations: 232.8 kB / 453.9 MB, free: 6.312 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002653/0.2356, allocations: 182.5 kB / 454.1 MB, free: 6.129 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2358, allocations: 394.7 kB / 454.5 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006098/0.2364, allocations: 293.8 kB / 454.8 MB, free: 5.445 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007622/0.2372, allocations: 0.5348 MB / 455.3 MB, free: 4.805 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.2386, allocations: 0.9399 MB / 456.2 MB, free: 3.738 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.2386, allocations: 0 / 456.2 MB, free: 3.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002156/0.2407, allocations: 1.117 MB / 457.4 MB, free: 2.598 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.219e-05/0.2408, allocations: 67.39 kB / 457.4 MB, free: 2.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.2408, allocations: 8 kB / 457.4 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004938/0.2413, allocations: 89.05 kB / 457.5 MB, free: 2.422 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008526/0.2422, allocations: 227.5 kB / 457.7 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.2437, allocations: 1.578 MB / 459.3 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007414/0.2445, allocations: 111.1 kB / 459.4 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-05/0.2446, allocations: 47.97 kB / 459.5 MB, free: 332 kB / 318.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.0004904/0.2451, allocations: 343 kB / 459.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.2452, allocations: 79.06 kB / 459.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002052/0.2473, allocations: 1.011 MB / 460.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.2473, allocations: 4 kB / 460.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2473, allocations: 4 kB / 460.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.2473, allocations: 8 kB / 460.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006011/0.2533, allocations: 2.309 MB / 463.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.2533, allocations: 0 / 463.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003726/0.2537, allocations: 99.83 kB / 463.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007976/0.2545, allocations: 330.2 kB / 463.6 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.706e-05/0.2546, allocations: 27.97 kB / 463.7 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001274/0.2559, allocations: 0.8974 MB / 464.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2559, allocations: 0 / 464.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002663/0.2586, allocations: 1.405 MB / 466 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003163/0.2589, allocations: 220 kB / 466.2 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.2591, allocations: 27.98 kB / 466.2 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000559/0.2596, allocations: 39.97 kB / 466.3 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.568e-05/0.2597, allocations: 52.53 kB / 466.3 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-05/0.2598, allocations: 27.98 kB / 466.3 MB, free: 9.227 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005513/0.2603, allocations: 455 kB / 466.8 MB, free: 8.785 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2604, allocations: 0 / 466.8 MB, free: 8.785 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000931/0.2613, allocations: 323 kB / 467.1 MB, free: 8.469 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.001319/0.2626, allocations: 0.6613 MB / 467.8 MB, free: 8.043 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002104/0.2647, allocations: 1.027 MB / 468.8 MB, free: 6.977 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2648, allocations: 3.938 kB / 468.8 MB, free: 6.973 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000855/0.2656, allocations: 0.4942 MB / 469.3 MB, free: 6.457 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007973/0.2664, allocations: 153.6 kB / 469.4 MB, free: 6.316 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003246/0.2697, allocations: 2.246 MB / 471.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005463/0.2702, allocations: 1.014 MB / 472.7 MB, free: 2.988 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002544/0.2705, allocations: 87.39 kB / 472.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2705, allocations: 0 / 472.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of Templates: time 0.02058/0.2911, allocations: 17.26 MB / 490 MB, free: 1.68 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe 2>&1)