Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.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_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02701/0.02701, 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.0009539/0.0009541, allocations: 110.1 kB / 23.66 MB, free: 0.7773 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.001144/0.001144, allocations: 197.1 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.402/1.402, allocations: 222.9 MB / 250.7 MB, free: 8.465 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009267/0.009267, allocations: 2.321 MB / 304.3 MB, free: 6.504 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001727, allocations: 95.86 kB / 368.6 MB, free: 6.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2096, allocations: 51.2 MB / 419.8 MB, free: 26.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.006696/0.2163, allocations: 6.851 MB / 426.7 MB, free: 19.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005036/0.2214, allocations: 3.939 MB / 430.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006757/0.2221, allocations: 19.94 kB / 430.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002363/0.2245, allocations: 1.162 MB / 431.8 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001684/0.2262, allocations: 0.8584 MB / 432.7 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.2276, allocations: 0.5392 MB / 433.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00104/0.2287, allocations: 1.413 MB / 434.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.2299, allocations: 1.02 MB / 435.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004587/0.2303, allocations: 0.5604 MB / 436.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005784/0.2309, allocations: 0.6809 MB / 436.9 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.2311, allocations: 140 kB / 437 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006356/0.2317, allocations: 435.7 kB / 437.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.2319, allocations: 318.8 kB / 437.7 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004143/0.2323, allocations: 0.6453 MB / 438.4 MB, free: 7.633 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.2337, allocations: 1.795 MB / 440.2 MB, free: 5.832 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2337, allocations: 0 / 440.2 MB, free: 5.832 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2338, allocations: 0 / 440.2 MB, free: 5.832 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.2338, allocations: 0 / 440.2 MB, free: 5.832 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.003395/0.2372, allocations: 1.812 MB / 442 MB, free: 3.953 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.2372, allocations: 8.031 kB / 442 MB, free: 3.945 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001969/0.2392, allocations: 383.1 kB / 442.4 MB, free: 3.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.2408, allocations: 0.8322 MB / 443.2 MB, free: 2.691 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.536e-05/0.2408, allocations: 78.08 kB / 443.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.241, allocations: 108 kB / 443.4 MB, free: 2.508 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.2427, allocations: 1.173 MB / 444.6 MB, free: 1.273 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/0.2427, allocations: 0 / 444.6 MB, free: 1.273 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.518e-05/0.2428, allocations: 48 kB / 444.6 MB, free: 1.227 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.2428, allocations: 24 kB / 444.6 MB, free: 1.203 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.2445, allocations: 1.072 MB / 445.7 MB, free: 140 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006247/0.2508, allocations: 4.345 MB / 450 MB, free: 11.58 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002596/0.2534, allocations: 1.744 MB / 451.8 MB, free: 9.629 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006623/0.2541, allocations: 327.3 kB / 452.1 MB, free: 9.305 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.2542, allocations: 93.66 kB / 452.2 MB, free: 9.191 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008306/0.2551, allocations: 473.6 kB / 452.7 MB, free: 8.703 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.294e-06/0.2551, allocations: 0 / 452.7 MB, free: 8.703 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.00587/0.2609, allocations: 1.588 MB / 454.3 MB, free: 7.074 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.2611, allocations: 222.2 kB / 454.5 MB, free: 6.809 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008793/0.262, allocations: 0.6486 MB / 455.1 MB, free: 6.152 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.829e-05/0.262, allocations: 45.64 kB / 455.2 MB, free: 6.102 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000398/0.2625, allocations: 0.5219 MB / 455.7 MB, free: 5.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.2626, allocations: 232.8 kB / 455.9 MB, free: 5.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/0.2629, allocations: 186.5 kB / 456.1 MB, free: 5.152 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.2632, allocations: 390.7 kB / 456.5 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006427/0.2638, allocations: 297.8 kB / 456.8 MB, free: 4.469 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008051/0.2646, allocations: 0.5348 MB / 457.3 MB, free: 3.832 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.2661, allocations: 0.9399 MB / 458.2 MB, free: 2.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.2661, allocations: 4 kB / 458.2 MB, free: 2.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002245/0.2684, allocations: 1.11 MB / 459.4 MB, free: 1.633 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.869e-05/0.2685, allocations: 71.39 kB / 459.4 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.2685, allocations: 4 kB / 459.4 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004807/0.269, allocations: 89.06 kB / 459.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008974/0.2699, allocations: 219.6 kB / 459.7 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/0.2714, allocations: 1.585 MB / 461.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00075/0.2722, allocations: 107.1 kB / 461.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.311e-05/0.2723, allocations: 47.97 kB / 461.5 MB, free: 15.36 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.000488/0.2728, allocations: 335.2 kB / 461.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.2729, allocations: 83.12 kB / 461.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002048/0.275, allocations: 1.007 MB / 462.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.275, allocations: 8 kB / 462.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.275, allocations: 0 / 462.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.275, allocations: 0 / 462.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005976/0.281, allocations: 2.306 MB / 465.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/0.281, allocations: 4 kB / 465.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004007/0.2814, allocations: 99.83 kB / 465.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008643/0.2823, allocations: 330.3 kB / 465.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.485e-05/0.2824, allocations: 23.97 kB / 465.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/0.2838, allocations: 0.9051 MB / 466.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2838, allocations: 0 / 466.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002773/0.2866, allocations: 1.406 MB / 468 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003892/0.287, allocations: 220 kB / 468.2 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.2871, allocations: 39.8 kB / 468.2 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005406/0.2877, allocations: 43.97 kB / 468.3 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.384e-05/0.2878, allocations: 48.5 kB / 468.3 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.14e-05/0.2878, allocations: 23.98 kB / 468.3 MB, free: 8.277 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005972/0.2884, allocations: 455 kB / 468.8 MB, free: 7.836 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2884, allocations: 0 / 468.8 MB, free: 7.836 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009835/0.2894, allocations: 323 kB / 469.1 MB, free: 7.52 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.001504/0.2909, allocations: 0.6615 MB / 469.7 MB, free: 7.094 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001918/0.2929, allocations: 0.9961 MB / 470.7 MB, free: 6.055 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2929, allocations: 0 / 470.7 MB, free: 6.055 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008601/0.2938, allocations: 0.4903 MB / 471.2 MB, free: 5.539 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008049/0.2946, allocations: 157.4 kB / 471.4 MB, free: 5.391 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/0.2976, allocations: 1.733 MB / 473.1 MB, free: 3.625 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/0.2982, allocations: 1.018 MB / 474.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004188/0.2986, allocations: 134.4 kB / 474.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/0.2989, allocations: 83.33 kB / 474.3 MB, free: 2.359 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2989, allocations: 0 / 474.3 MB, free: 2.359 MB / 334.1 MB Notification: Performance of Templates: time 0.02066/0.3195, allocations: 12.04 MB / 486.4 MB, free: 6.41 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe 2>&1)