Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007353/0.0007353, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008697/0.001605, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007051/0.0007051, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008566/0.001562, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9512/0.9512, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08515/1.036, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/package.mo): time 0.02682/0.02682, allocations: 4.324 MB / 248.3 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002663/0.02948, allocations: 1.695 MB / 250 MB, free: 8.973 MB / 250.7 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.Examples.SimpleModuleMP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP") translateModel(PhotoVoltaics.Examples.SimpleModuleMP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.32e-07/8.32e-07, allocations: 0 / 251.3 MB, free: 7.652 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.437e-05/1.52e-05, allocations: 5.828 kB / 251.3 MB, free: 7.648 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.005358/0.005373, allocations: 6.246 MB / 257.5 MB, free: 1.359 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002797/0.008171, allocations: 2.699 MB / 260.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002489/0.008419, allocations: 19.94 kB / 260.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.009953, allocations: 1.224 MB / 261.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007514/0.0107, allocations: 0.6171 MB / 262.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.01111, allocations: 367.1 kB / 262.5 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007052/0.01182, allocations: 1.203 MB / 263.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007581/0.01258, allocations: 0.8639 MB / 264.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006405/0.01322, allocations: 0.8159 MB / 265.3 MB, free: 9.496 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004001/0.01362, allocations: 470.7 kB / 265.8 MB, free: 9.035 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.833e-05/0.01372, allocations: 124 kB / 265.9 MB, free: 8.914 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003366/0.01405, allocations: 307.6 kB / 266.2 MB, free: 8.613 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.01416, allocations: 187.4 kB / 266.4 MB, free: 8.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002251/0.01439, allocations: 307.4 kB / 266.7 MB, free: 8.129 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007586/0.01515, allocations: 0.903 MB / 267.6 MB, free: 7.223 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.149e-05/0.01516, allocations: 0 / 267.6 MB, free: 7.223 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.01516, allocations: 0 / 267.6 MB, free: 7.223 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.01517, allocations: 0 / 267.6 MB, free: 7.223 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.002118/0.01729, allocations: 1.729 MB / 269.3 MB, free: 5.438 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.636e-05/0.01732, allocations: 11.98 kB / 269.4 MB, free: 5.426 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.01843, allocations: 483.4 kB / 269.8 MB, free: 4.953 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005527/0.01898, allocations: 404.5 kB / 270.2 MB, free: 4.535 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.952e-05/0.01903, allocations: 74 kB / 270.3 MB, free: 4.461 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.625e-05/0.01912, allocations: 95.89 kB / 270.4 MB, free: 4.367 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007256/0.01984, allocations: 0.7531 MB / 271.1 MB, free: 3.578 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.01986, allocations: 0 / 271.1 MB, free: 3.578 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.726e-05/0.01991, allocations: 40 kB / 271.2 MB, free: 3.539 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.01992, allocations: 24 kB / 271.2 MB, free: 3.516 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004081/0.02033, allocations: 355.4 kB / 271.6 MB, free: 3.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002666/0.02299, allocations: 2.714 MB / 274.3 MB, free: 340 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1069/0.1299, allocations: 0.5058 MB / 274.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.1301, allocations: 136.1 kB / 274.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.032e-05/0.1301, allocations: 20.66 kB / 274.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/0.1304, allocations: 261.7 kB / 275.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.493e-06/0.1304, allocations: 0 / 275.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0008777/0.1312, allocations: 0.5252 MB / 275.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.1313, allocations: 146.7 kB / 275.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.1316, allocations: 464.2 kB / 276.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.1316, allocations: 35.67 kB / 276.3 MB, free: 10.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.1318, allocations: 439 kB / 276.8 MB, free: 10.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.303e-05/0.1319, allocations: 170.7 kB / 276.9 MB, free: 10 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.132, allocations: 150.8 kB / 277.1 MB, free: 9.977 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.353e-05/0.1321, allocations: 376 kB / 277.4 MB, free: 9.664 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.1322, allocations: 112.9 kB / 277.6 MB, free: 9.633 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.1324, allocations: 313.1 kB / 277.9 MB, free: 9.395 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.1327, allocations: 478 kB / 278.3 MB, free: 9.117 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.1327, allocations: 5.375 kB / 278.3 MB, free: 9.117 MB / 266.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.0006101/0.1333, allocations: 0.5305 MB / 278.9 MB, free: 9.004 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/0.1333, allocations: 37.52 kB / 278.9 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.1333, allocations: 6.531 kB / 278.9 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002181/0.1336, allocations: 90.25 kB / 279 MB, free: 8.961 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000419/0.134, allocations: 203.1 kB / 279.2 MB, free: 8.961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007077/0.1347, allocations: 1.371 MB / 280.6 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003007/0.135, allocations: 84.98 kB / 280.7 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.135, allocations: 32.78 kB / 280.7 MB, free: 7.719 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 11 (mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,mpTracker.sampleTrigger,$whenCondition1,mpTracker.vRef,$PRE.mpTracker.vRef,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * 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.0001439/0.1352, allocations: 188.6 kB / 280.9 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.846e-05/0.1352, allocations: 53.45 kB / 280.9 MB, free: 7.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004388/0.1357, allocations: 435.6 kB / 281.3 MB, free: 7.422 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1357, allocations: 5.562 kB / 281.3 MB, free: 7.422 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.1357, allocations: 0.5156 kB / 281.3 MB, free: 7.422 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.1357, allocations: 3.672 kB / 281.4 MB, free: 7.422 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.1367, allocations: 0.88 MB / 282.2 MB, free: 7.105 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1367, allocations: 4.031 kB / 282.2 MB, free: 7.105 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.1369, allocations: 92.47 kB / 282.3 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.137, allocations: 67.61 kB / 282.4 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002718/0.1373, allocations: 264.4 kB / 282.7 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.1373, allocations: 21.78 kB / 282.7 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002946/0.1376, allocations: 0.7364 MB / 283.4 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1376, allocations: 2 kB / 283.4 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006001/0.1382, allocations: 0.6492 MB / 284.1 MB, free: 6.094 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.755e-05/0.1383, allocations: 12.83 kB / 284.1 MB, free: 6.094 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.1385, allocations: 32.31 kB / 284.1 MB, free: 6.094 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.1385, allocations: 32.83 kB / 284.1 MB, free: 6.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.1385, allocations: 16.11 kB / 284.2 MB, free: 6.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001581/0.1387, allocations: 197.2 kB / 284.3 MB, free: 6.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1387, allocations: 1.094 kB / 284.3 MB, free: 6.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004576/0.1391, allocations: 252.9 kB / 284.6 MB, free: 6.023 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter.integrator.y,voltageSource.pin_p.reference.gamma) * Number of discrete variables: 6 ($whenCondition1,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef) * Number of discrete states: 7 (mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001607/0.1393, allocations: 146.9 kB / 284.7 MB, free: 5.949 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005353/0.1398, allocations: 0.5824 MB / 285.3 MB, free: 5.688 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-05/0.1399, allocations: 18.36 kB / 285.3 MB, free: 5.688 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.1401, allocations: 239.8 kB / 285.6 MB, free: 5.578 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.1404, allocations: 165.6 kB / 285.7 MB, free: 5.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00464/0.145, allocations: 1.318 MB / 287.1 MB, free: 4.883 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.099e-05/0.1451, allocations: 155.3 kB / 287.2 MB, free: 4.805 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001852/0.1453, allocations: 79.06 kB / 287.3 MB, free: 4.793 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.1455, allocations: 158.9 kB / 287.4 MB, free: 4.742 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1455, allocations: 0 / 287.4 MB, free: 4.742 MB / 266.7 MB Notification: Performance of Templates: time 0.0107/0.1562, allocations: 9.169 MB / 296.6 MB, free: 1.848 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7217049673199654]