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.02707/0.02707, allocations: 5.388 MB / 20.62 MB, free: 2.008 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.000867/0.000867, allocations: 104.1 kB / 22.61 MB, free: 388 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.000988/0.000988, allocations: 197.3 kB / 24.7 MB, free: 1.707 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.268/1.268, allocations: 222.9 MB / 249.6 MB, free: 12.94 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008388/0.008388, allocations: 2.316 MB / 303.2 MB, free: 4.551 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 91.84 kB / 366.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08726/0.08879, allocations: 51.21 MB / 417.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.007805/0.09664, allocations: 6.825 MB / 424.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1537/0.2504, allocations: 3.861 MB / 428.5 MB, free: 34.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.2515, allocations: 19.69 kB / 428.5 MB, free: 34.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002443/0.2539, allocations: 1.075 MB / 429.6 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00178/0.2557, allocations: 0.7645 MB / 430.4 MB, free: 34.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.2572, allocations: 493.8 kB / 430.9 MB, free: 34.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001376/0.2586, allocations: 1.409 MB / 432.3 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/0.2598, allocations: 1.089 MB / 433.4 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005806/0.2604, allocations: 0.5587 MB / 433.9 MB, free: 34.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005546/0.261, allocations: 0.6872 MB / 434.6 MB, free: 34.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.2612, allocations: 141.4 kB / 434.7 MB, free: 34.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000683/0.2618, allocations: 437.8 kB / 435.2 MB, free: 34.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.262, allocations: 314.2 kB / 435.5 MB, free: 34.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003836/0.2624, allocations: 0.6433 MB / 436.1 MB, free: 34.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.2637, allocations: 1.773 MB / 437.9 MB, free: 33.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2637, allocations: 0 / 437.9 MB, free: 33.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2637, allocations: 0.5625 kB / 437.9 MB, free: 33.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.2637, allocations: 0.5625 kB / 437.9 MB, free: 33.98 MB / 350.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.003483/0.2672, allocations: 1.81 MB / 439.7 MB, free: 33.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.2673, allocations: 10.16 kB / 439.7 MB, free: 33.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001876/0.2692, allocations: 378.2 kB / 440.1 MB, free: 33.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.2707, allocations: 0.8176 MB / 440.9 MB, free: 32.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.306e-05/0.2708, allocations: 82.88 kB / 441 MB, free: 32.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.2709, allocations: 105.1 kB / 441.1 MB, free: 32.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.2727, allocations: 1.179 MB / 442.3 MB, free: 32.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/0.2728, allocations: 0 / 442.3 MB, free: 32.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.102e-05/0.2729, allocations: 50.44 kB / 442.3 MB, free: 32.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.2729, allocations: 25.44 kB / 442.3 MB, free: 32.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/0.2746, allocations: 1.071 MB / 443.4 MB, free: 32.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005045/0.2797, allocations: 4.369 MB / 447.8 MB, free: 29.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002135/0.2818, allocations: 1.748 MB / 449.5 MB, free: 27.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005508/0.2824, allocations: 326.7 kB / 449.8 MB, free: 27.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.36e-05/0.2825, allocations: 92.33 kB / 449.9 MB, free: 27.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006987/0.2832, allocations: 469.8 kB / 450.4 MB, free: 27.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.154e-06/0.2832, allocations: 0 / 450.4 MB, free: 27.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.005459/0.2887, allocations: 1.594 MB / 452 MB, free: 26.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/0.2888, allocations: 226.8 kB / 452.2 MB, free: 26.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006903/0.2895, allocations: 0.646 MB / 452.9 MB, free: 26.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.864e-05/0.2895, allocations: 47.5 kB / 452.9 MB, free: 26.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/0.2898, allocations: 0.5164 MB / 453.4 MB, free: 25.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.2899, allocations: 235.4 kB / 453.6 MB, free: 25.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/0.2902, allocations: 194 kB / 453.8 MB, free: 25.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.2903, allocations: 388.5 kB / 454.2 MB, free: 25.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005613/0.2908, allocations: 298.4 kB / 454.5 MB, free: 25.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006202/0.2915, allocations: 0.5346 MB / 455 MB, free: 24.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.2926, allocations: 0.9344 MB / 456 MB, free: 24.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.2927, allocations: 4 kB / 456 MB, free: 24.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001952/0.2946, allocations: 1.114 MB / 457.1 MB, free: 23.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.507e-05/0.2947, allocations: 64.61 kB / 457.2 MB, free: 23.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.2947, allocations: 7.375 kB / 457.2 MB, free: 23.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005234/0.2952, allocations: 88.67 kB / 457.3 MB, free: 23.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007999/0.296, allocations: 221.1 kB / 457.5 MB, free: 23.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.2972, allocations: 1.585 MB / 459.1 MB, free: 22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007227/0.2979, allocations: 114.2 kB / 459.2 MB, free: 21.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.194e-05/0.298, allocations: 50.84 kB / 459.2 MB, free: 21.92 MB / 350.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.0004039/0.2984, allocations: 340.4 kB / 459.5 MB, free: 21.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.2985, allocations: 82.38 kB / 459.6 MB, free: 21.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/0.3003, allocations: 1.004 MB / 460.6 MB, free: 21.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3003, allocations: 6.531 kB / 460.6 MB, free: 21.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.3003, allocations: 7.344 kB / 460.6 MB, free: 21.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.3004, allocations: 3.375 kB / 460.6 MB, free: 21.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005513/0.3059, allocations: 2.309 MB / 463 MB, free: 20.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3059, allocations: 3.156 kB / 463 MB, free: 20.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003465/0.3062, allocations: 100.3 kB / 463.1 MB, free: 20.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007282/0.307, allocations: 327.8 kB / 463.4 MB, free: 20.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.776e-05/0.3071, allocations: 36.12 kB / 463.4 MB, free: 20.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.3081, allocations: 0.8909 MB / 464.3 MB, free: 19.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3082, allocations: 0 / 464.3 MB, free: 19.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002267/0.3104, allocations: 1.406 MB / 465.7 MB, free: 18.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002532/0.3107, allocations: 228.4 kB / 465.9 MB, free: 18.51 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.3108, allocations: 21.41 kB / 466 MB, free: 18.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005493/0.3114, allocations: 44.03 kB / 466 MB, free: 18.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.661e-05/0.3115, allocations: 48.3 kB / 466 MB, free: 18.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.658e-05/0.3115, allocations: 28.69 kB / 466.1 MB, free: 18.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004631/0.312, allocations: 460.2 kB / 466.5 MB, free: 18.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.312, allocations: 0 / 466.5 MB, free: 18.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008779/0.3129, allocations: 326.5 kB / 466.8 MB, free: 18.17 MB / 350.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.001267/0.3142, allocations: 0.6573 MB / 467.5 MB, free: 17.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001877/0.3161, allocations: 1.013 MB / 468.5 MB, free: 17.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3161, allocations: 448 / 468.5 MB, free: 17.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007163/0.3168, allocations: 0.5001 MB / 469 MB, free: 17.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007962/0.3176, allocations: 155.5 kB / 469.2 MB, free: 17.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002861/0.3205, allocations: 2.204 MB / 471.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.3209, allocations: 1.019 MB / 472.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005212/0.3214, allocations: 130.5 kB / 472.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.3216, allocations: 78 kB / 472.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3216, allocations: 4 kB / 472.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of Templates: time 0.02161/0.3433, allocations: 12.08 MB / 484.7 MB, free: 13.42 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)