Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.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_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02622/0.02622, allocations: 5.395 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.001086/0.001086, allocations: 106.5 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.001192/0.001192, allocations: 200.7 kB / 25.67 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.341/1.341, allocations: 222.9 MB / 250.5 MB, free: 8.516 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009873/0.009873, allocations: 2.32 MB / 304.2 MB, free: 6.555 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.003574/0.003574, allocations: 95.84 kB / 367.8 MB, free: 6.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.232, allocations: 51.21 MB / 419 MB, free: 26.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.006135/0.2382, allocations: 6.841 MB / 425.9 MB, free: 19.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004645/0.2428, allocations: 3.939 MB / 429.8 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007017/0.2436, allocations: 23.94 kB / 429.8 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002288/0.2459, allocations: 1.158 MB / 431 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001539/0.2474, allocations: 0.8467 MB / 431.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.2488, allocations: 0.5574 MB / 432.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009955/0.2498, allocations: 1.397 MB / 433.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.2509, allocations: 1.025 MB / 434.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004451/0.2513, allocations: 0.5487 MB / 435.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005616/0.2519, allocations: 0.6964 MB / 436.1 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.2521, allocations: 140 kB / 436.2 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006649/0.2527, allocations: 439.7 kB / 436.6 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.2529, allocations: 310.9 kB / 436.9 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003946/0.2533, allocations: 0.6413 MB / 437.6 MB, free: 7.801 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.2546, allocations: 1.772 MB / 439.4 MB, free: 6.023 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2546, allocations: 7.922 kB / 439.4 MB, free: 6.016 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2546, allocations: 0 / 439.4 MB, free: 6.016 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.2547, allocations: 0 / 439.4 MB, free: 6.016 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.003414/0.2581, allocations: 1.81 MB / 441.2 MB, free: 4.137 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.2581, allocations: 8.031 kB / 441.2 MB, free: 4.129 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001967/0.2601, allocations: 379.1 kB / 441.6 MB, free: 3.758 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.2616, allocations: 0.8204 MB / 442.4 MB, free: 2.891 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.122e-05/0.2616, allocations: 82.08 kB / 442.5 MB, free: 2.809 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.2618, allocations: 108 kB / 442.6 MB, free: 2.703 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.2634, allocations: 1.169 MB / 443.7 MB, free: 1.473 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.2635, allocations: 4 kB / 443.7 MB, free: 1.469 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.991e-05/0.2636, allocations: 44 kB / 443.8 MB, free: 1.426 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.2636, allocations: 24 kB / 443.8 MB, free: 1.402 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.2653, allocations: 1.07 MB / 444.9 MB, free: 344 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006037/0.2714, allocations: 4.38 MB / 449.2 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002705/0.2741, allocations: 1.752 MB / 451 MB, free: 9.789 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006751/0.2748, allocations: 326.3 kB / 451.3 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.2749, allocations: 97.66 kB / 451.4 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008428/0.2758, allocations: 469.6 kB / 451.9 MB, free: 8.867 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.475e-06/0.2758, allocations: 4 kB / 451.9 MB, free: 8.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.005944/0.2817, allocations: 1.592 MB / 453.5 MB, free: 7.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/0.2819, allocations: 218.2 kB / 453.7 MB, free: 6.969 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000868/0.2828, allocations: 0.6525 MB / 454.3 MB, free: 6.309 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.258e-05/0.2828, allocations: 37.7 kB / 454.4 MB, free: 6.266 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003861/0.2832, allocations: 0.5257 MB / 454.9 MB, free: 5.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/0.2834, allocations: 240.8 kB / 455.1 MB, free: 5.492 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002772/0.2837, allocations: 178.5 kB / 455.3 MB, free: 5.312 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.2839, allocations: 394.7 kB / 455.7 MB, free: 4.918 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00066/0.2845, allocations: 297.8 kB / 456 MB, free: 4.625 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008207/0.2854, allocations: 0.5386 MB / 456.5 MB, free: 3.984 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.2869, allocations: 0.9321 MB / 457.5 MB, free: 2.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.2869, allocations: 0 / 457.5 MB, free: 2.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002252/0.2892, allocations: 1.117 MB / 458.6 MB, free: 1.789 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.207e-05/0.2892, allocations: 63.39 kB / 458.6 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.2892, allocations: 8 kB / 458.6 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005002/0.2897, allocations: 85.06 kB / 458.7 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008833/0.2906, allocations: 227.5 kB / 458.9 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/0.2922, allocations: 1.582 MB / 460.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007298/0.2929, allocations: 107.2 kB / 460.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.95e-05/0.293, allocations: 47.97 kB / 460.7 MB, free: 15.52 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.000463/0.2935, allocations: 339.2 kB / 461 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.2936, allocations: 79.06 kB / 461.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002155/0.2958, allocations: 1.014 MB / 462.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.2958, allocations: 8 kB / 462.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.2958, allocations: 0 / 462.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.2958, allocations: 3.984 kB / 462.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006109/0.302, allocations: 2.309 MB / 464.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.302, allocations: 0 / 464.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003858/0.3024, allocations: 99.92 kB / 464.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008232/0.3032, allocations: 330.3 kB / 464.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.689e-05/0.3033, allocations: 27.97 kB / 464.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.3045, allocations: 0.9012 MB / 465.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3046, allocations: 0 / 465.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002633/0.3072, allocations: 1.409 MB / 467.2 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003219/0.3075, allocations: 224 kB / 467.4 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.3077, allocations: 23.94 kB / 467.4 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000565/0.3083, allocations: 51.91 kB / 467.5 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.357e-05/0.3084, allocations: 44.5 kB / 467.5 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.23e-05/0.3084, allocations: 27.97 kB / 467.5 MB, free: 8.422 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005513/0.309, allocations: 459 kB / 468 MB, free: 7.977 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.309, allocations: 0 / 468 MB, free: 7.977 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009525/0.31, allocations: 319 kB / 468.3 MB, free: 7.664 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.00141/0.3114, allocations: 0.6696 MB / 469 MB, free: 7.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002179/0.3136, allocations: 1.012 MB / 470 MB, free: 6.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3136, allocations: 4.062 kB / 470 MB, free: 6.176 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008572/0.3144, allocations: 0.49 MB / 470.5 MB, free: 5.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008349/0.3153, allocations: 150.9 kB / 470.6 MB, free: 5.516 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003086/0.3184, allocations: 1.805 MB / 472.4 MB, free: 3.668 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005616/0.319, allocations: 1.014 MB / 473.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002517/0.3192, allocations: 91.39 kB / 473.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3192, allocations: 0 / 473.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of Templates: time 0.03231/0.3516, allocations: 17.25 MB / 490.8 MB, free: 1.336 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe 2>&1)