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.02444/0.02444, allocations: 5.404 MB / 21.66 MB, free: 1.203 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.001062/0.001062, allocations: 107.6 kB / 23.65 MB, free: 0.7969 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.001149/0.00115, allocations: 200.9 kB / 25.78 MB, free: 4.531 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.332/1.332, allocations: 222.9 MB / 250.7 MB, free: 8.469 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009282/0.009282, allocations: 2.327 MB / 304.3 MB, free: 6.523 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 96.19 kB / 368.6 MB, free: 6.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2123, allocations: 51.21 MB / 419.8 MB, free: 26.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.006219/0.2185, allocations: 6.85 MB / 426.7 MB, free: 19.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004942/0.2235, allocations: 3.951 MB / 430.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000743/0.2243, allocations: 16 kB / 430.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002292/0.2266, allocations: 1.155 MB / 431.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001686/0.2283, allocations: 0.8535 MB / 432.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.2299, allocations: 0.5574 MB / 433.2 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001204/0.2311, allocations: 1.402 MB / 434.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.2322, allocations: 1.013 MB / 435.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005217/0.2327, allocations: 0.5604 MB / 436.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006015/0.2333, allocations: 0.6809 MB / 436.9 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.2335, allocations: 151.9 kB / 437 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007465/0.2342, allocations: 431.7 kB / 437.4 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.2344, allocations: 318.8 kB / 437.7 MB, free: 8.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004149/0.2348, allocations: 0.6414 MB / 438.4 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.2363, allocations: 1.795 MB / 440.2 MB, free: 5.875 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2363, allocations: 4 kB / 440.2 MB, free: 5.871 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2363, allocations: 0 / 440.2 MB, free: 5.871 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.2363, allocations: 0 / 440.2 MB, free: 5.871 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.003419/0.2397, allocations: 1.81 MB / 442 MB, free: 3.992 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.2398, allocations: 8.031 kB / 442 MB, free: 3.984 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001952/0.2417, allocations: 383.1 kB / 442.4 MB, free: 3.609 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.2433, allocations: 0.836 MB / 443.2 MB, free: 2.727 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.231e-05/0.2434, allocations: 78.08 kB / 443.3 MB, free: 2.648 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.2435, allocations: 108 kB / 443.4 MB, free: 2.543 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.2451, allocations: 1.165 MB / 444.6 MB, free: 1.316 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/0.2451, allocations: 8 kB / 444.6 MB, free: 1.309 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-05/0.2452, allocations: 44 kB / 444.6 MB, free: 1.266 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.2453, allocations: 24 kB / 444.6 MB, free: 1.242 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/0.247, allocations: 1.07 MB / 445.7 MB, free: 180 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006117/0.2531, allocations: 4.353 MB / 450 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002489/0.2556, allocations: 1.744 MB / 451.8 MB, free: 9.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006306/0.2563, allocations: 323.8 kB / 452.1 MB, free: 9.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.58e-05/0.2564, allocations: 97.64 kB / 452.2 MB, free: 9.223 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008248/0.2572, allocations: 469.6 kB / 452.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.194e-06/0.2572, allocations: 4 kB / 452.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.005822/0.263, allocations: 1.581 MB / 454.2 MB, free: 7.113 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.2632, allocations: 222.2 kB / 454.5 MB, free: 6.848 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008381/0.264, allocations: 0.6525 MB / 455.1 MB, free: 6.188 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.795e-05/0.2641, allocations: 41.7 kB / 455.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000449/0.2645, allocations: 0.5219 MB / 455.7 MB, free: 5.609 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.2647, allocations: 236.7 kB / 455.9 MB, free: 5.375 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002712/0.265, allocations: 182.5 kB / 456.1 MB, free: 5.191 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.2652, allocations: 394.7 kB / 456.5 MB, free: 4.797 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006329/0.2658, allocations: 297.8 kB / 456.8 MB, free: 4.504 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007812/0.2666, allocations: 0.5309 MB / 457.3 MB, free: 3.871 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.2681, allocations: 0.9399 MB / 458.2 MB, free: 2.809 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-06/0.2681, allocations: 4 kB / 458.2 MB, free: 2.805 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002188/0.2703, allocations: 1.11 MB / 459.3 MB, free: 1.672 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.738e-05/0.2703, allocations: 71.45 kB / 459.4 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.2704, allocations: 8 kB / 459.4 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004623/0.2708, allocations: 84.78 kB / 459.5 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008387/0.2717, allocations: 227.5 kB / 459.7 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/0.2732, allocations: 1.581 MB / 461.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007546/0.274, allocations: 103.1 kB / 461.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.289e-05/0.274, allocations: 51.97 kB / 461.5 MB, free: 15.4 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.000481/0.2745, allocations: 339.2 kB / 461.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.2747, allocations: 79.06 kB / 461.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/0.2767, allocations: 1.014 MB / 462.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.2767, allocations: 8 kB / 462.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.2767, allocations: 0 / 462.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.2767, allocations: 3.984 kB / 462.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006079/0.2828, allocations: 2.302 MB / 465.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.2829, allocations: 0 / 465.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003848/0.2833, allocations: 99.83 kB / 465.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008226/0.2841, allocations: 322.3 kB / 465.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.375e-05/0.2842, allocations: 31.97 kB / 465.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/0.2855, allocations: 0.9012 MB / 466.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2855, allocations: 0 / 466.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002589/0.2881, allocations: 1.402 MB / 467.9 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003598/0.2885, allocations: 227.9 kB / 468.2 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.2886, allocations: 27.94 kB / 468.2 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005446/0.2892, allocations: 43.97 kB / 468.2 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.125e-05/0.2893, allocations: 44.5 kB / 468.3 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.074e-05/0.2893, allocations: 31.97 kB / 468.3 MB, free: 8.316 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000562/0.2899, allocations: 451 kB / 468.8 MB, free: 7.879 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2899, allocations: 0 / 468.8 MB, free: 7.879 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001/0.2909, allocations: 323 kB / 469.1 MB, free: 7.562 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.001533/0.2924, allocations: 0.673 MB / 469.7 MB, free: 7.129 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001998/0.2945, allocations: 0.9997 MB / 470.7 MB, free: 6.086 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.2945, allocations: 0 / 470.7 MB, free: 6.086 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009453/0.2954, allocations: 494.3 kB / 471.2 MB, free: 5.578 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000795/0.2962, allocations: 161.2 kB / 471.4 MB, free: 5.422 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/0.2994, allocations: 1.737 MB / 473.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006532/0.3001, allocations: 1.018 MB / 474.1 MB, free: 2.605 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004068/0.3005, allocations: 130.4 kB / 474.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000302/0.3008, allocations: 79.34 kB / 474.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3008, allocations: 0 / 474.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of Templates: time 0.02208/0.3229, allocations: 12.05 MB / 486.4 MB, free: 6.438 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 -s cvode -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe 2>&1)