Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 102.3 kB / 16.07 MB, free: 32 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.001522/0.001522, allocations: 181.7 kB / 16.96 MB, free: 6.879 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.435/1.435, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2019/0.2019, allocations: 8.078 MB / 300.2 MB, free: 2.992 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003525, allocations: 16 kB / 363.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1169, allocations: 52.52 MB / 416 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.00103/0.118, allocations: 0.5821 MB / 416.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.1197, allocations: 1.279 MB / 417.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.779e-05/0.1198, allocations: 4 kB / 417.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000253/0.12, allocations: 47.84 kB / 417.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.1202, allocations: 39.77 kB / 418 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006673/0.1209, allocations: 326.8 kB / 418.3 MB, free: 6.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.121, allocations: 79.58 kB / 418.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.042e-05/0.1211, allocations: 15.98 kB / 418.4 MB, free: 6.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.138e-05/0.1212, allocations: 35.86 kB / 418.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.1213, allocations: 39.84 kB / 418.4 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.1213, allocations: 0 / 418.4 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002625/0.1216, allocations: 99.88 kB / 418.5 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.1216, allocations: 11.92 kB / 418.5 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.472e-05/0.1217, allocations: 57.5 kB / 418.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.122, allocations: 147.8 kB / 418.7 MB, free: 5.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.122, allocations: 0 / 418.7 MB, free: 5.621 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.122, allocations: 0 / 418.7 MB, free: 5.621 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.122, allocations: 4 kB / 418.8 MB, free: 5.617 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008398/0.1228, allocations: 431.2 kB / 419.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1229, allocations: 8.031 kB / 419.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.1229, allocations: 12.83 kB / 419.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.1231, allocations: 180.2 kB / 419.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.1231, allocations: 4.375 kB / 419.4 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.1231, allocations: 8.359 kB / 419.4 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.1233, allocations: 94.23 kB / 419.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.1233, allocations: 4.188 kB / 419.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.1234, allocations: 11.92 kB / 419.5 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1234, allocations: 0 / 419.5 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.1235, allocations: 75.91 kB / 419.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005517/0.1241, allocations: 380.6 kB / 419.9 MB, free: 4.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.1244, allocations: 114.6 kB / 420 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.325e-05/0.1244, allocations: 28.86 kB / 420.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.1245, allocations: 0 / 420.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.1245, allocations: 34.56 kB / 420.1 MB, free: 4.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.1245, allocations: 0 / 420.1 MB, free: 4.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005706/0.1251, allocations: 235.8 kB / 420.3 MB, free: 3.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.1251, allocations: 59.33 kB / 420.4 MB, free: 3.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.1253, allocations: 145.8 kB / 420.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.1253, allocations: 29.7 kB / 420.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.328e-05/0.1254, allocations: 96.03 kB / 420.7 MB, free: 3.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.1254, allocations: 23.66 kB / 420.7 MB, free: 3.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.1255, allocations: 17.66 kB / 420.7 MB, free: 3.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.1256, allocations: 318.8 kB / 421 MB, free: 3.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.854e-05/0.1257, allocations: 39.98 kB / 421.1 MB, free: 3.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.907e-05/0.1257, allocations: 31.98 kB / 421.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.1258, allocations: 64.86 kB / 421.1 MB, free: 2.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1258, allocations: 0 / 421.1 MB, free: 2.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002877/0.1261, allocations: 150.3 kB / 421.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1262, allocations: 4 kB / 421.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.1262, allocations: 7.875 kB / 421.3 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002395/0.1264, allocations: 36.83 kB / 421.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.061e-05/0.1265, allocations: 16 kB / 421.4 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.1277, allocations: 1.339 MB / 422.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.148e-05/0.1277, allocations: 11.84 kB / 422.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.1278, allocations: 8 kB / 422.7 MB, free: 1.258 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 (9): * Single equations (assignments): 8 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.961e-05/0.1279, allocations: 117.8 kB / 422.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.1279, allocations: 4 kB / 422.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/0.1282, allocations: 138.8 kB / 423 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1282, allocations: 0 / 423 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.1282, allocations: 0 / 423 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1282, allocations: 0 / 423 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.1284, allocations: 209.5 kB / 423.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1285, allocations: 288 / 423.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.882e-05/0.1285, allocations: 8 kB / 423.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000156/0.1287, allocations: 40.83 kB / 423.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.1287, allocations: 7.938 kB / 423.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001041/0.1297, allocations: 1.327 MB / 424.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.1298, allocations: 3.938 kB / 424.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.1301, allocations: 204.3 kB / 424.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.1301, allocations: 96.94 kB / 424.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.1301, allocations: 3.938 kB / 424.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.1303, allocations: 8 kB / 424.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.1303, allocations: 12.08 kB / 424.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.1303, allocations: 4 kB / 424.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.1304, allocations: 119.1 kB / 425 MB, free: 14.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1304, allocations: 0 / 425 MB, free: 14.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.1307, allocations: 20 kB / 425 MB, free: 14.71 MB / 366.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 (6): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001698/0.1309, allocations: 111.2 kB / 425.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003846/0.1313, allocations: 202.6 kB / 425.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/0.1313, allocations: 0 / 425.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.1315, allocations: 146.7 kB / 425.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.1318, allocations: 11.94 kB / 425.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004188/0.1322, allocations: 274.8 kB / 425.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.1325, allocations: 0.7004 MB / 426.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.991e-05/0.1326, allocations: 4.672 kB / 426.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.1326, allocations: 11.44 kB / 426.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1326, allocations: 0 / 426.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of Templates: time 0.004368/0.137, allocations: 1.433 MB / 427.9 MB, free: 11.75 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1) Environment - environmentSimulation: