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.02723/0.02723, allocations: 5.383 MB / 20.34 MB, free: 1.52 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.0007074/0.0007074, allocations: 102.2 kB / 22.32 MB, free: 284 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.0008206/0.0008206, allocations: 170.6 kB / 24.39 MB, free: 1.949 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.25/1.25, allocations: 223.2 MB / 249.5 MB, free: 15.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008364/0.008364, allocations: 2.317 MB / 304.1 MB, free: 3.766 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0006459/0.000646, allocations: 16 kB / 371.5 MB, free: 8.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1215, allocations: 52.2 MB / 423.7 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004): time 0.1697/0.2912, allocations: 5.632 MB / 429.3 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004714/0.2959, allocations: 3.624 MB / 432.9 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000549/0.2965, allocations: 15.84 kB / 433 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008665/0.2974, allocations: 373.9 kB / 433.3 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.2987, allocations: 0.7383 MB / 434.1 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009002/0.2996, allocations: 417 kB / 434.5 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007874/0.3004, allocations: 0.8811 MB / 435.3 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001594/0.302, allocations: 1.233 MB / 436.6 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004673/0.3025, allocations: 443.4 kB / 437 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000561/0.3031, allocations: 0.5369 MB / 437.5 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.87e-05/0.3032, allocations: 60.62 kB / 437.6 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005813/0.3038, allocations: 289 kB / 437.9 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.3039, allocations: 217.3 kB / 438.1 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.3041, allocations: 230 kB / 438.3 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009315/0.305, allocations: 1.321 MB / 439.6 MB, free: 36.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.305, allocations: 0 / 439.6 MB, free: 36.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3051, allocations: 0.5625 kB / 439.6 MB, free: 36.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.3051, allocations: 0 / 439.6 MB, free: 36.88 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.003112/0.3082, allocations: 1.593 MB / 441.2 MB, free: 36.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.3082, allocations: 9.562 kB / 441.3 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.3102, allocations: 378.1 kB / 441.6 MB, free: 35.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/0.3116, allocations: 0.8043 MB / 442.4 MB, free: 35.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.491e-05/0.3117, allocations: 81.55 kB / 442.5 MB, free: 35.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.3118, allocations: 109.3 kB / 442.6 MB, free: 35.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/0.3135, allocations: 1.172 MB / 443.8 MB, free: 35.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.3135, allocations: 2.875 kB / 443.8 MB, free: 35.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.011e-05/0.3136, allocations: 45.28 kB / 443.8 MB, free: 35.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.3137, allocations: 24.81 kB / 443.9 MB, free: 35.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.3153, allocations: 1.069 MB / 444.9 MB, free: 35.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004914/0.3203, allocations: 4.392 MB / 449.3 MB, free: 32.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002042/0.3223, allocations: 1.743 MB / 451.1 MB, free: 30.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-05/0.3224, allocations: 99.98 kB / 451.2 MB, free: 30.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006736/0.3231, allocations: 468.8 kB / 451.6 MB, free: 30.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.004e-06/0.3231, allocations: 0 / 451.6 MB, free: 30.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.00497/0.3281, allocations: 1.709 MB / 453.3 MB, free: 29.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.71e-05/0.3282, allocations: 226.2 kB / 453.5 MB, free: 29.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006941/0.3289, allocations: 0.645 MB / 454.2 MB, free: 29.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.015e-05/0.3289, allocations: 39.98 kB / 454.2 MB, free: 29.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.3292, allocations: 0.5217 MB / 454.7 MB, free: 28.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.3293, allocations: 231.5 kB / 455 MB, free: 28.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.3294, allocations: 19.25 kB / 455 MB, free: 28.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.649e-05/0.3295, allocations: 391.3 kB / 455.4 MB, free: 28.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005326/0.33, allocations: 299.6 kB / 455.7 MB, free: 28.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000581/0.3306, allocations: 0.5339 MB / 456.2 MB, free: 27.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005949/0.3312, allocations: 418.6 kB / 456.6 MB, free: 27.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.3312, allocations: 6.75 kB / 456.6 MB, free: 27.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001709/0.3329, allocations: 1.106 MB / 457.7 MB, free: 27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.333, allocations: 70.72 kB / 457.8 MB, free: 26.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.333, allocations: 7.062 kB / 457.8 MB, free: 26.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004111/0.3334, allocations: 89.95 kB / 457.9 MB, free: 26.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007554/0.3342, allocations: 217.7 kB / 458.1 MB, free: 26.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/0.3352, allocations: 1.485 MB / 459.6 MB, free: 25.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006337/0.3358, allocations: 112.8 kB / 459.7 MB, free: 25.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.765e-05/0.3359, allocations: 47.8 kB / 459.7 MB, free: 25.39 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 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition3,$PRE.combiTimeTable.nextTimeEvent,$whenCondition2,writeCSV.sampleTrigger,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,mpTracker.vRef,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003424/0.3363, allocations: 337.7 kB / 460.1 MB, free: 25.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.135e-05/0.3364, allocations: 86.19 kB / 460.2 MB, free: 25.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001658/0.338, allocations: 1.017 MB / 461.2 MB, free: 24.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.338, allocations: 10.8 kB / 461.2 MB, free: 24.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.3381, allocations: 3.953 kB / 461.2 MB, free: 24.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.3381, allocations: 6.922 kB / 461.2 MB, free: 24.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00503/0.3431, allocations: 2.335 MB / 463.5 MB, free: 23.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3431, allocations: 0 / 463.5 MB, free: 23.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/0.3435, allocations: 107.2 kB / 463.6 MB, free: 23.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006844/0.3442, allocations: 334.2 kB / 464 MB, free: 23.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.877e-05/0.3442, allocations: 28.44 kB / 464 MB, free: 23.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009851/0.3452, allocations: 0.9058 MB / 464.9 MB, free: 22.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.3452, allocations: 0.875 kB / 464.9 MB, free: 22.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.3474, allocations: 1.436 MB / 466.3 MB, free: 22.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003199/0.3477, allocations: 231.1 kB / 466.6 MB, free: 21.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.3478, allocations: 27.27 kB / 466.6 MB, free: 21.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005167/0.3484, allocations: 49.09 kB / 466.6 MB, free: 21.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.759e-05/0.3485, allocations: 43.33 kB / 466.7 MB, free: 21.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-05/0.3485, allocations: 33.14 kB / 466.7 MB, free: 21.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005107/0.349, allocations: 454.9 kB / 467.1 MB, free: 21.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3491, allocations: 0 / 467.1 MB, free: 21.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00102/0.3501, allocations: 319.7 kB / 467.5 MB, free: 21.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001211/0.3513, allocations: 0.6662 MB / 468.1 MB, free: 21.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001658/0.353, allocations: 0.9933 MB / 469.1 MB, free: 20.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.353, allocations: 0 / 469.1 MB, free: 20.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006991/0.3537, allocations: 0.4948 MB / 469.6 MB, free: 20.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006304/0.3543, allocations: 133.4 kB / 469.7 MB, free: 20.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/0.3569, allocations: 2.163 MB / 471.9 MB, free: 19.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.3574, allocations: 1.036 MB / 472.9 MB, free: 18.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004507/0.3578, allocations: 136 kB / 473.1 MB, free: 18.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.358, allocations: 81.03 kB / 473.2 MB, free: 18.43 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.358, allocations: 0 / 473.2 MB, free: 18.43 MB / 350.1 MB Notification: Performance of Templates: time 0.01938/0.3774, allocations: 11.15 MB / 484.3 MB, free: 16.95 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: