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.028/0.028, allocations: 5.403 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.0009797/0.0009798, allocations: 101 kB / 23.65 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.00105/0.00105, allocations: 198.1 kB / 25.78 MB, free: 4.527 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.228/1.228, allocations: 222.9 MB / 250.7 MB, free: 8.473 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009117/0.009117, allocations: 2.316 MB / 304.3 MB, free: 6.508 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 99.86 kB / 372.1 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1796, allocations: 51.2 MB / 423.3 MB, free: 25.82 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004): time 0.005858/0.1855, allocations: 6.848 MB / 430.2 MB, free: 18.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004028/0.1895, allocations: 3.943 MB / 434.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003848/0.1899, allocations: 27.88 kB / 434.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001963/0.1919, allocations: 1.15 MB / 435.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001201/0.1931, allocations: 0.8622 MB / 436.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.1943, allocations: 0.5447 MB / 436.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008598/0.1952, allocations: 1.41 MB / 438.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009212/0.1961, allocations: 1.02 MB / 439.1 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003766/0.1965, allocations: 0.5526 MB / 439.7 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005196/0.197, allocations: 0.6886 MB / 440.4 MB, free: 8.688 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.1972, allocations: 144 kB / 440.5 MB, free: 8.547 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005115/0.1977, allocations: 435.7 kB / 441 MB, free: 8.121 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.1979, allocations: 310.9 kB / 441.3 MB, free: 7.816 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003608/0.1982, allocations: 0.6413 MB / 441.9 MB, free: 7.172 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.1994, allocations: 1.795 MB / 443.7 MB, free: 5.371 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1994, allocations: 0 / 443.7 MB, free: 5.371 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1994, allocations: 0 / 443.7 MB, free: 5.371 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.1994, allocations: 0 / 443.7 MB, free: 5.371 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.003153/0.2026, allocations: 1.818 MB / 445.5 MB, free: 3.484 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/0.2026, allocations: 8.031 kB / 445.5 MB, free: 3.477 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.2044, allocations: 375.1 kB / 445.9 MB, free: 3.109 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/0.2059, allocations: 0.8282 MB / 446.7 MB, free: 2.234 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.806e-05/0.2059, allocations: 82.08 kB / 446.8 MB, free: 2.152 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.2061, allocations: 108 kB / 446.9 MB, free: 2.047 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.2076, allocations: 1.169 MB / 448.1 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.2077, allocations: 3.938 kB / 448.1 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.128e-05/0.2078, allocations: 44 kB / 448.1 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.2078, allocations: 32 kB / 448.1 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/0.2095, allocations: 1.073 MB / 449.2 MB, free: 15.67 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00572/0.2152, allocations: 4.349 MB / 453.6 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002473/0.2177, allocations: 1.733 MB / 455.3 MB, free: 9.172 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006205/0.2184, allocations: 331.8 kB / 455.6 MB, free: 8.844 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.2185, allocations: 93.66 kB / 455.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007699/0.2193, allocations: 469.6 kB / 456.2 MB, free: 8.246 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.104e-06/0.2193, allocations: 0 / 456.2 MB, free: 8.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.005535/0.2248, allocations: 1.588 MB / 457.8 MB, free: 6.617 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.2249, allocations: 226.2 kB / 458 MB, free: 6.348 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007321/0.2257, allocations: 0.6525 MB / 458.6 MB, free: 5.688 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/0.2257, allocations: 41.69 kB / 458.7 MB, free: 5.641 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003406/0.2261, allocations: 0.5179 MB / 459.2 MB, free: 5.113 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/0.2263, allocations: 240.7 kB / 459.4 MB, free: 4.875 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002742/0.2266, allocations: 182.5 kB / 459.6 MB, free: 4.691 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.2267, allocations: 390.7 kB / 460 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006047/0.2273, allocations: 301.8 kB / 460.3 MB, free: 4.004 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007532/0.2281, allocations: 0.5309 MB / 460.8 MB, free: 3.371 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.2295, allocations: 0.9322 MB / 461.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.2295, allocations: 0 / 461.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002061/0.2316, allocations: 1.122 MB / 462.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.554e-05/0.2316, allocations: 59.41 kB / 462.9 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.2316, allocations: 8 kB / 462.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004425/0.2321, allocations: 88.7 kB / 463 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007968/0.2329, allocations: 231.7 kB / 463.2 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.2343, allocations: 1.574 MB / 464.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006781/0.235, allocations: 107.1 kB / 464.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-05/0.2351, allocations: 48.08 kB / 465 MB, free: 14.91 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.0003823/0.2355, allocations: 347.1 kB / 465.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.2356, allocations: 83.09 kB / 465.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/0.2375, allocations: 1.003 MB / 466.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.2376, allocations: 8 kB / 466.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.2376, allocations: 0 / 466.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.2376, allocations: 7.922 kB / 466.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00572/0.2433, allocations: 2.302 MB / 468.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.2433, allocations: 0 / 468.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003635/0.2437, allocations: 95.89 kB / 468.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007664/0.2445, allocations: 338.2 kB / 469.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.309e-05/0.2445, allocations: 27.98 kB / 469.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.2457, allocations: 0.9051 MB / 470.1 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2457, allocations: 4.062 kB / 470.1 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002457/0.2482, allocations: 1.398 MB / 471.5 MB, free: 8.203 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002949/0.2485, allocations: 223.9 kB / 471.7 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.2486, allocations: 27.94 kB / 471.7 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005219/0.2492, allocations: 47.97 kB / 471.8 MB, free: 7.891 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.809e-05/0.2493, allocations: 44.5 kB / 471.8 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.16e-05/0.2493, allocations: 31.97 kB / 471.8 MB, free: 7.816 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000515/0.2499, allocations: 455 kB / 472.3 MB, free: 7.375 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2499, allocations: 0 / 472.3 MB, free: 7.375 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008802/0.2507, allocations: 319 kB / 472.6 MB, free: 7.062 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.001347/0.2521, allocations: 0.6701 MB / 473.3 MB, free: 6.633 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001734/0.2538, allocations: 0.9955 MB / 474.3 MB, free: 5.594 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2539, allocations: 0 / 474.3 MB, free: 5.594 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008187/0.2547, allocations: 0.4947 MB / 474.8 MB, free: 5.074 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007244/0.2554, allocations: 150.7 kB / 474.9 MB, free: 4.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/0.2583, allocations: 1.737 MB / 476.6 MB, free: 3.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005697/0.2588, allocations: 1.018 MB / 477.7 MB, free: 2.113 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003868/0.2592, allocations: 130.4 kB / 477.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.2594, allocations: 79.39 kB / 477.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2594, allocations: 0 / 477.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of Templates: time 0.01963/0.2791, allocations: 12.05 MB / 489.9 MB, free: 5.945 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 -s gbode -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe 2>&1)