Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneSource.conf.json 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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) Running command: translateModel(PowerSysPro.Tests.OneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneSource") translateModel(PowerSysPro.Tests.OneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009043/0.000909, allocations: 97.48 kB / 16.06 MB, free: 40 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.001041/0.001041, allocations: 182.8 kB / 16.96 MB, free: 6.895 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.426/1.426, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1823/0.1823, allocations: 8.083 MB / 300.2 MB, free: 2.934 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005159/0.0005159, allocations: 12 kB / 363.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1384, allocations: 52.52 MB / 416 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.00126/0.1397, allocations: 0.6449 MB / 416.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1411, allocations: 1.143 MB / 417.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.653e-05/0.1412, allocations: 4 kB / 417.8 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.1415, allocations: 55.77 kB / 417.8 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.1416, allocations: 19.91 kB / 417.9 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.635e-05/0.1417, allocations: 27.91 kB / 417.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.065e-05/0.1418, allocations: 51.8 kB / 417.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.1419, allocations: 31.95 kB / 418 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.965e-05/0.142, allocations: 19.88 kB / 418 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.173e-05/0.1421, allocations: 19.92 kB / 418 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.1421, allocations: 4 kB / 418 MB, free: 6.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.1423, allocations: 59.91 kB / 418.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.1423, allocations: 7.938 kB / 418.1 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.613e-05/0.1423, allocations: 49.56 kB / 418.1 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.1425, allocations: 107.9 kB / 418.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1426, allocations: 0 / 418.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1426, allocations: 4 kB / 418.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1426, allocations: 0 / 418.2 MB, free: 6.125 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006658/0.1432, allocations: 371.4 kB / 418.6 MB, free: 5.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.1433, allocations: 8.031 kB / 418.6 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.1434, allocations: 8.844 kB / 418.6 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.1435, allocations: 168.3 kB / 418.8 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.1436, allocations: 4.312 kB / 418.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.1436, allocations: 12.38 kB / 418.8 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.1438, allocations: 74.17 kB / 418.9 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1438, allocations: 4.188 kB / 418.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.1438, allocations: 7.938 kB / 418.9 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.1438, allocations: 4 kB / 418.9 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.914e-05/0.1439, allocations: 46.5 kB / 418.9 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005477/0.1445, allocations: 348.5 kB / 419.3 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.272e-05/0.1445, allocations: 30.58 kB / 419.3 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.281e-05/0.1446, allocations: 12.78 kB / 419.3 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.1447, allocations: 85.16 kB / 419.4 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.1447, allocations: 34.56 kB / 419.4 MB, free: 4.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 2.555e-06/0.1448, allocations: 0 / 419.4 MB, free: 4.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001839/0.1449, allocations: 45.64 kB / 419.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.145, allocations: 55.34 kB / 419.5 MB, free: 4.633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.1451, allocations: 122 kB / 419.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.1451, allocations: 25.7 kB / 419.7 MB, free: 4.473 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/0.1452, allocations: 111.8 kB / 419.8 MB, free: 4.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.072e-05/0.1452, allocations: 7.891 kB / 419.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.1452, allocations: 9.719 kB / 419.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1454, allocations: 318.8 kB / 420.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.665e-05/0.1454, allocations: 11.94 kB / 420.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.448e-05/0.1454, allocations: 15.98 kB / 420.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.645e-05/0.1455, allocations: 28.86 kB / 420.2 MB, free: 3.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1455, allocations: 0 / 420.2 MB, free: 3.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.637e-05/0.1456, allocations: 65.69 kB / 420.2 MB, free: 3.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1456, allocations: 5.562 kB / 420.2 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1456, allocations: 320 / 420.2 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1456, allocations: 0 / 420.2 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.484e-05/0.1457, allocations: 15.92 kB / 420.3 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.1457, allocations: 3.938 kB / 420.3 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.462e-05/0.1458, allocations: 7.938 kB / 420.3 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.1458, allocations: 4.172 kB / 420.3 MB, free: 3.852 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.668e-05/0.1459, allocations: 117.8 kB / 420.4 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.1459, allocations: 3.906 kB / 420.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.146, allocations: 49.22 kB / 420.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1461, allocations: 3.938 kB / 420.4 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1461, allocations: 4 kB / 420.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1461, allocations: 0 / 420.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.1463, allocations: 173.6 kB / 420.6 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1463, allocations: 4 kB / 420.6 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.86e-05/0.1463, allocations: 0 / 420.6 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1463, allocations: 7.969 kB / 420.6 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.1463, allocations: 7.938 kB / 420.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1463, allocations: 3.938 kB / 420.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1463, allocations: 0 / 420.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.1465, allocations: 131.5 kB / 420.8 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/0.1466, allocations: 85.02 kB / 420.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.1466, allocations: 0 / 420.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.445e-05/0.1466, allocations: 7.875 kB / 420.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.304e-05/0.1467, allocations: 4.031 kB / 420.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.1467, allocations: 0 / 420.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.1468, allocations: 99.27 kB / 421 MB, free: 3.062 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1468, allocations: 0 / 421 MB, free: 3.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002287/0.147, allocations: 12 kB / 421 MB, free: 3.051 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001495/0.1472, allocations: 111.2 kB / 421.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.588e-05/0.1473, allocations: 19.94 kB / 421.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1473, allocations: 0 / 421.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.293e-05/0.1473, allocations: 8 kB / 421.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.1475, allocations: 11.92 kB / 421.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003049/0.1478, allocations: 182.4 kB / 421.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.1482, allocations: 0.6848 MB / 422 MB, free: 1.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.273e-05/0.1482, allocations: 7.969 kB / 422 MB, free: 1.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.168e-05/0.1482, allocations: 11.44 kB / 422 MB, free: 1.957 MB / 350.1 MB Notification: Performance of SimCode: time 2.605e-06/0.1482, allocations: 0 / 422 MB, free: 1.957 MB / 350.1 MB Notification: Performance of Templates: time 0.002786/0.151, allocations: 0.5359 MB / 422.5 MB, free: 1.422 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.OneSource.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneSource.sim & ./PowerSysPro_PowerSysPro.Tests.OneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1) Environment - environmentSimulation: