Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.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) Ignoring simflag -noemit -cpu=() since it seems broken on HelloWorld Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.04109/0.04109, allocations: 5.394 MB / 21.56 MB, free: 1.195 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.001432/0.001433, allocations: 115.1 kB / 23.55 MB, free: 0.8984 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.00184/0.00184, allocations: 201.1 kB / 25.68 MB, free: 4.785 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.334/1.334, allocations: 222.9 MB / 250.5 MB, free: 8.535 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.01006/0.01006, allocations: 2.313 MB / 304.2 MB, free: 6.562 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 95.86 kB / 371.3 MB, free: 3.391 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2102, allocations: 51.21 MB / 422.6 MB, free: 25.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004): time 0.006903/0.2171, allocations: 6.835 MB / 429.4 MB, free: 19.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005451/0.2226, allocations: 3.939 MB / 433.3 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000975/0.2237, allocations: 23.94 kB / 433.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002741/0.2264, allocations: 1.151 MB / 434.5 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002045/0.2285, allocations: 0.8652 MB / 435.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.2303, allocations: 0.5466 MB / 435.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00147/0.2317, allocations: 1.394 MB / 437.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001472/0.2332, allocations: 1.024 MB / 438.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007077/0.2339, allocations: 0.5526 MB / 438.9 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008373/0.2348, allocations: 0.6848 MB / 439.6 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002918/0.2351, allocations: 144 kB / 439.7 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009038/0.236, allocations: 435.7 kB / 440.1 MB, free: 8.289 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002595/0.2363, allocations: 310.9 kB / 440.4 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000673/0.237, allocations: 0.6491 MB / 441.1 MB, free: 7.332 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001924/0.2389, allocations: 1.768 MB / 442.9 MB, free: 5.559 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.2389, allocations: 0 / 442.9 MB, free: 5.559 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2389, allocations: 0 / 442.9 MB, free: 5.559 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.697e-05/0.239, allocations: 0 / 442.9 MB, free: 5.559 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.004332/0.2433, allocations: 1.817 MB / 444.7 MB, free: 3.672 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.2434, allocations: 12.03 kB / 444.7 MB, free: 3.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002148/0.2455, allocations: 375.1 kB / 445 MB, free: 3.293 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.2473, allocations: 0.8166 MB / 445.9 MB, free: 2.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.98e-05/0.2473, allocations: 82.06 kB / 445.9 MB, free: 2.348 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/0.2475, allocations: 111.9 kB / 446.1 MB, free: 2.238 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/0.2494, allocations: 1.169 MB / 447.2 MB, free: 1.008 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.2494, allocations: 0 / 447.2 MB, free: 1.008 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.276e-05/0.2495, allocations: 47.94 kB / 447.3 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.2496, allocations: 24 kB / 447.3 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.2515, allocations: 1.074 MB / 448.4 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007074/0.2586, allocations: 4.392 MB / 452.8 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002898/0.2615, allocations: 1.74 MB / 454.5 MB, free: 9.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007404/0.2623, allocations: 323.8 kB / 454.8 MB, free: 9 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/0.2625, allocations: 101.6 kB / 454.9 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000909/0.2634, allocations: 465.6 kB / 455.4 MB, free: 8.398 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 3.006e-06/0.2634, allocations: 0 / 455.4 MB, free: 8.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.006352/0.2698, allocations: 1.592 MB / 457 MB, free: 6.766 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.2699, allocations: 222.2 kB / 457.2 MB, free: 6.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.271, allocations: 0.6486 MB / 457.8 MB, free: 5.844 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.476e-05/0.271, allocations: 37.7 kB / 457.9 MB, free: 5.801 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004458/0.2715, allocations: 0.5219 MB / 458.4 MB, free: 5.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/0.2717, allocations: 240.8 kB / 458.6 MB, free: 5.031 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003056/0.272, allocations: 186.5 kB / 458.8 MB, free: 4.844 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.2722, allocations: 386.7 kB / 459.2 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006916/0.2729, allocations: 297.8 kB / 459.5 MB, free: 4.164 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008476/0.2738, allocations: 0.5387 MB / 460 MB, free: 3.523 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.2754, allocations: 0.9321 MB / 460.9 MB, free: 2.469 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.2754, allocations: 4 kB / 460.9 MB, free: 2.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002428/0.2778, allocations: 1.114 MB / 462.1 MB, free: 1.328 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.42e-05/0.2779, allocations: 63.41 kB / 462.1 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.2779, allocations: 4 kB / 462.1 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005054/0.2784, allocations: 93.06 kB / 462.2 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008921/0.2793, allocations: 223.6 kB / 462.4 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/0.2809, allocations: 1.578 MB / 464 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008732/0.2818, allocations: 115.1 kB / 464.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.2819, allocations: 43.98 kB / 464.2 MB, free: 15.06 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.0005447/0.2825, allocations: 343.2 kB / 464.5 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/0.2827, allocations: 83.06 kB / 464.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002302/0.285, allocations: 1.003 MB / 465.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.2851, allocations: 12 kB / 465.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2851, allocations: 0 / 465.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.2851, allocations: 3.984 kB / 465.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006618/0.2917, allocations: 2.31 MB / 467.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.2918, allocations: 7.938 kB / 467.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004238/0.2922, allocations: 103.9 kB / 468 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008732/0.2931, allocations: 322.3 kB / 468.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.688e-05/0.2932, allocations: 31.97 kB / 468.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.2946, allocations: 0.8973 MB / 469.3 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.2946, allocations: 4.031 kB / 469.3 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002919/0.2975, allocations: 1.401 MB / 470.7 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000449/0.298, allocations: 224 kB / 470.9 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/0.2982, allocations: 27.88 kB / 470.9 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006578/0.2989, allocations: 51.95 kB / 471 MB, free: 8.031 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.527e-05/0.299, allocations: 36.52 kB / 471 MB, free: 7.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-05/0.2991, allocations: 31.97 kB / 471 MB, free: 7.961 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006566/0.2997, allocations: 455 kB / 471.5 MB, free: 7.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2998, allocations: 0 / 471.5 MB, free: 7.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001096/0.3009, allocations: 319 kB / 471.8 MB, free: 7.207 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.001519/0.3024, allocations: 0.6809 MB / 472.5 MB, free: 6.766 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002417/0.3048, allocations: 1.016 MB / 473.5 MB, free: 5.711 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.3048, allocations: 8.062 kB / 473.5 MB, free: 5.703 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009634/0.3058, allocations: 493.8 kB / 474 MB, free: 5.195 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.3068, allocations: 153.5 kB / 474.1 MB, free: 5.051 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00367/0.3105, allocations: 1.805 MB / 475.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006854/0.3112, allocations: 1.018 MB / 476.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/0.3115, allocations: 83.39 kB / 477 MB, free: 2.078 MB / 334.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3115, allocations: 8 kB / 477 MB, free: 2.07 MB / 334.1 MB Notification: Performance of Templates: time 0.02361/0.3352, allocations: 17.26 MB / 494.3 MB, free: 0.8594 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004 -jacobian=coloredNumerical -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe 2>&1)