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.0239/0.0239, allocations: 5.392 MB / 21.27 MB, free: 1.328 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.006904/0.006904, allocations: 103.1 kB / 23.26 MB, free: 0.8242 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.00128/0.001281, allocations: 193 kB / 25.37 MB, free: 424 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.271/1.271, allocations: 222.9 MB / 250.2 MB, free: 6.996 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009/0.009, allocations: 2.321 MB / 303.9 MB, free: 6.527 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 91.86 kB / 367.3 MB, free: 7.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1979, allocations: 51.2 MB / 418.5 MB, free: 26.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.006113/0.204, allocations: 6.821 MB / 425.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00479/0.2089, allocations: 3.865 MB / 429.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007614/0.2097, allocations: 20 kB / 429.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002289/0.212, allocations: 1.092 MB / 430.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.2137, allocations: 0.762 MB / 431 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.2152, allocations: 0.4981 MB / 431.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001139/0.2164, allocations: 1.397 MB / 432.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/0.2175, allocations: 1.087 MB / 434 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005051/0.218, allocations: 0.5682 MB / 434.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005712/0.2186, allocations: 0.6808 MB / 435.3 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.2188, allocations: 144 kB / 435.4 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006827/0.2194, allocations: 439.7 kB / 435.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.2196, allocations: 314.9 kB / 436.1 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003914/0.22, allocations: 0.6413 MB / 436.8 MB, free: 8.211 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.2211, allocations: 1.384 MB / 438.2 MB, free: 6.824 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2211, allocations: 3.938 kB / 438.2 MB, free: 6.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2212, allocations: 0 / 438.2 MB, free: 6.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.2212, 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.00351/0.2247, allocations: 1.806 MB / 440 MB, free: 4.941 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.2247, allocations: 8.031 kB / 440 MB, free: 4.934 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002002/0.2267, allocations: 375.1 kB / 440.4 MB, free: 4.566 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.2283, allocations: 0.8244 MB / 441.2 MB, free: 3.699 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.27e-05/0.2284, allocations: 82.08 kB / 441.3 MB, free: 3.617 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.2285, allocations: 108 kB / 441.4 MB, free: 3.512 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/0.2302, allocations: 1.169 MB / 442.5 MB, free: 2.281 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/0.2303, allocations: 3.938 kB / 442.5 MB, free: 2.277 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.461e-05/0.2304, allocations: 44 kB / 442.6 MB, free: 2.234 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.2304, allocations: 24 kB / 442.6 MB, free: 2.211 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.2321, allocations: 1.072 MB / 443.7 MB, free: 1.145 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005908/0.2381, allocations: 4.384 MB / 448.1 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002547/0.2406, allocations: 1.743 MB / 449.8 MB, free: 10.6 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006319/0.2413, allocations: 325.3 kB / 450.1 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.2414, allocations: 105.6 kB / 450.2 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008442/0.2423, allocations: 461.7 kB / 450.7 MB, free: 9.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 3.166e-06/0.2423, allocations: 4 kB / 450.7 MB, free: 9.676 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.005986/0.2483, allocations: 1.588 MB / 452.3 MB, free: 8.051 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.2484, allocations: 226.2 kB / 452.5 MB, free: 7.781 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000816/0.2492, allocations: 0.6563 MB / 453.1 MB, free: 7.117 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.2493, allocations: 37.7 kB / 453.2 MB, free: 7.074 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004021/0.2497, allocations: 0.5181 MB / 453.7 MB, free: 6.547 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.2499, allocations: 236.7 kB / 453.9 MB, free: 6.312 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002741/0.2502, allocations: 186.5 kB / 454.1 MB, free: 6.125 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.2504, allocations: 390.6 kB / 454.5 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006226/0.251, allocations: 301.8 kB / 454.8 MB, free: 5.438 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007866/0.2518, allocations: 0.527 MB / 455.3 MB, free: 4.805 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.2532, allocations: 0.9399 MB / 456.3 MB, free: 3.738 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.333e-06/0.2532, allocations: 4 kB / 456.3 MB, free: 3.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002277/0.2555, allocations: 1.114 MB / 457.4 MB, free: 2.598 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.06e-05/0.2556, allocations: 59.41 kB / 457.4 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.2556, allocations: 12.28 kB / 457.4 MB, free: 2.516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005326/0.2562, allocations: 88.78 kB / 457.5 MB, free: 2.426 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008593/0.257, allocations: 223.5 kB / 457.7 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/0.2586, allocations: 1.582 MB / 459.3 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008178/0.2595, allocations: 111.1 kB / 459.4 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.443e-05/0.2596, allocations: 47.92 kB / 459.5 MB, free: 336 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.0005322/0.2601, allocations: 347.1 kB / 459.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.2603, allocations: 87.05 kB / 459.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/0.2624, allocations: 0.9988 MB / 460.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.2624, allocations: 11.98 kB / 460.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.2624, allocations: 0 / 460.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.2624, allocations: 3.984 kB / 460.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006312/0.2687, allocations: 2.309 MB / 463.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.2688, allocations: 4.031 kB / 463.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004259/0.2692, allocations: 99.89 kB / 463.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008523/0.2701, allocations: 326.2 kB / 463.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.058e-05/0.2702, allocations: 31.97 kB / 463.7 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/0.2715, allocations: 0.8896 MB / 464.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.2716, allocations: 11.95 kB / 464.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002745/0.2743, allocations: 1.397 MB / 466 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003696/0.2747, allocations: 227.9 kB / 466.2 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.2749, allocations: 20 kB / 466.2 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005936/0.2755, allocations: 56.02 kB / 466.3 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.622e-05/0.2756, allocations: 40.45 kB / 466.3 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.228e-05/0.2757, allocations: 31.97 kB / 466.3 MB, free: 9.227 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005735/0.2762, allocations: 451 kB / 466.8 MB, free: 8.789 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.2763, allocations: 0 / 466.8 MB, free: 8.789 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001002/0.2773, allocations: 326.9 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.001391/0.2787, allocations: 0.6526 MB / 467.8 MB, free: 8.051 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002223/0.2809, allocations: 1.023 MB / 468.8 MB, free: 6.988 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2809, allocations: 0 / 468.8 MB, free: 6.988 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008659/0.2818, allocations: 0.4944 MB / 469.3 MB, free: 6.473 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008328/0.2826, allocations: 150.8 kB / 469.4 MB, free: 6.328 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003567/0.2862, allocations: 2.254 MB / 471.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005773/0.2868, allocations: 1.022 MB / 472.7 MB, free: 2.988 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/0.2871, allocations: 83.39 kB / 472.8 MB, free: 2.906 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2871, allocations: 0 / 472.8 MB, free: 2.906 MB / 334.1 MB Notification: Performance of Templates: time 0.02104/0.3082, allocations: 17.25 MB / 490 MB, free: 1.695 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)