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.03582/0.03582, allocations: 5.387 MB / 20.66 MB, free: 1.289 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.0007419/0.0007419, allocations: 98.05 kB / 22.65 MB, free: 52 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.0008467/0.0008467, allocations: 183.5 kB / 24.75 MB, free: 1.773 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.286/1.286, allocations: 223.3 MB / 250 MB, free: 5.836 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009012/0.009012, allocations: 2.318 MB / 304.6 MB, free: 4.996 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004244/0.0004244, allocations: 12 kB / 368.9 MB, free: 4.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1901, allocations: 52.2 MB / 421.1 MB, free: 25.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.004838/0.1949, allocations: 6.329 MB / 427.4 MB, free: 19.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004642/0.1996, allocations: 3.83 MB / 431.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000561/0.2002, allocations: 23.94 kB / 431.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.2012, allocations: 449.9 kB / 431.7 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.2026, allocations: 0.7621 MB / 432.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.2038, allocations: 0.4913 MB / 433 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00085/0.2047, allocations: 1.308 MB / 434.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001739/0.2064, allocations: 1.419 MB / 435.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003957/0.2069, allocations: 461.9 kB / 436.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005018/0.2074, allocations: 0.5794 MB / 436.7 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.511e-05/0.2075, allocations: 60 kB / 436.8 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005447/0.208, allocations: 355.6 kB / 437.1 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.2082, allocations: 218.9 kB / 437.4 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003412/0.2085, allocations: 0.5727 MB / 437.9 MB, free: 8.555 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.2096, allocations: 1.662 MB / 439.6 MB, free: 6.887 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2096, allocations: 0 / 439.6 MB, free: 6.887 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2096, allocations: 0 / 439.6 MB, free: 6.887 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.2096, allocations: 0 / 439.6 MB, free: 6.887 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.003161/0.2128, allocations: 1.588 MB / 441.2 MB, free: 5.234 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.2128, allocations: 8.031 kB / 441.2 MB, free: 5.227 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/0.2148, allocations: 383.2 kB / 441.6 MB, free: 4.852 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.2162, allocations: 0.8205 MB / 442.4 MB, free: 3.988 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.28e-05/0.2163, allocations: 82.02 kB / 442.5 MB, free: 3.906 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.2165, allocations: 112 kB / 442.6 MB, free: 3.797 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.2182, allocations: 1.176 MB / 443.7 MB, free: 2.559 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.2182, allocations: 0 / 443.7 MB, free: 2.559 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.405e-05/0.2183, allocations: 44 kB / 443.8 MB, free: 2.516 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.2183, allocations: 24 kB / 443.8 MB, free: 2.492 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/0.2201, allocations: 1.081 MB / 444.9 MB, free: 1.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005434/0.2256, allocations: 4.4 MB / 449.3 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002626/0.2282, allocations: 1.755 MB / 451 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006431/0.2289, allocations: 325.5 kB / 451.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.677e-05/0.229, allocations: 101.6 kB / 451.5 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007871/0.2298, allocations: 465.7 kB / 451.9 MB, free: 9.922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.204e-06/0.2298, allocations: 4 kB / 451.9 MB, free: 9.918 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.005813/0.2356, allocations: 1.639 MB / 453.6 MB, free: 8.242 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.2357, allocations: 222.2 kB / 453.8 MB, free: 7.977 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007931/0.2365, allocations: 0.6447 MB / 454.4 MB, free: 7.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.528e-05/0.2366, allocations: 53.72 kB / 454.5 MB, free: 7.262 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/0.2369, allocations: 0.5179 MB / 455 MB, free: 6.734 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.2371, allocations: 232.8 kB / 455.2 MB, free: 6.504 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.2372, allocations: 85.67 kB / 455.3 MB, free: 6.414 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.2374, allocations: 390.6 kB / 455.7 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006521/0.2381, allocations: 305.8 kB / 456 MB, free: 5.723 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007637/0.2388, allocations: 0.5348 MB / 456.5 MB, free: 5.082 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.2403, allocations: 0.9477 MB / 457.5 MB, free: 4.008 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.2403, allocations: 0 / 457.5 MB, free: 4.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002138/0.2424, allocations: 1.118 MB / 458.6 MB, free: 2.867 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/0.2425, allocations: 63.41 kB / 458.6 MB, free: 2.793 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.2425, allocations: 7.984 kB / 458.7 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004749/0.243, allocations: 93.06 kB / 458.7 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008525/0.2438, allocations: 223.6 kB / 459 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.2453, allocations: 1.468 MB / 460.4 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007461/0.246, allocations: 111.3 kB / 460.5 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.783e-05/0.2461, allocations: 51.95 kB / 460.6 MB, free: 0.7109 MB / 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.0004605/0.2466, allocations: 335.2 kB / 460.9 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.2467, allocations: 86.91 kB / 461 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/0.2488, allocations: 1.022 MB / 462 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.2489, allocations: 8 kB / 462 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.2489, allocations: 0 / 462 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.2489, allocations: 0 / 462 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006062/0.2549, allocations: 2.349 MB / 464.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.255, allocations: 0 / 464.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/0.2553, allocations: 99.83 kB / 464.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008253/0.2562, allocations: 334.3 kB / 464.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.689e-05/0.2563, allocations: 31.97 kB / 464.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.2575, allocations: 0.9052 MB / 465.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2576, allocations: 7.969 kB / 465.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002633/0.2602, allocations: 1.416 MB / 467.2 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003688/0.2606, allocations: 231.9 kB / 467.4 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001637/0.2607, allocations: 23.94 kB / 467.4 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000609/0.2614, allocations: 55.95 kB / 467.5 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.2615, allocations: 44.45 kB / 467.5 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.591e-05/0.2616, allocations: 32.03 kB / 467.5 MB, free: 9.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006186/0.2622, allocations: 455 kB / 468 MB, free: 9.082 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2622, allocations: 0 / 468 MB, free: 9.082 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001032/0.2632, allocations: 327 kB / 468.3 MB, free: 8.762 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.001358/0.2646, allocations: 0.6616 MB / 469 MB, free: 8.332 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001953/0.2666, allocations: 0.9989 MB / 470 MB, free: 7.293 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.2666, allocations: 0 / 470 MB, free: 7.293 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008471/0.2674, allocations: 0.4914 MB / 470.5 MB, free: 6.781 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009014/0.2683, allocations: 153.3 kB / 470.6 MB, free: 6.629 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/0.2717, allocations: 2.281 MB / 472.9 MB, free: 4.312 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005621/0.2723, allocations: 1.018 MB / 473.9 MB, free: 3.27 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004952/0.2728, allocations: 130.4 kB / 474 MB, free: 3.137 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.273, allocations: 79.39 kB / 474.1 MB, free: 3.059 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.273, allocations: 4 kB / 474.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of Templates: time 0.0194/0.2924, allocations: 11.44 MB / 485.6 MB, free: 7.699 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: