Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") translateModel(PowerSysPro.Examples.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 96.83 kB / 15.73 MB, free: 440 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.001228/0.001228, allocations: 178.5 kB / 16.61 MB, free: 6.426 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.502/1.502, allocations: 223.2 MB / 240.6 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2417/0.2417, allocations: 8.086 MB / 299.7 MB, free: 2.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005276/0.000528, allocations: 12 kB / 362.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1514, allocations: 52.51 MB / 415.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.001496/0.1529, allocations: 0.7675 MB / 416 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.1552, allocations: 1.365 MB / 417.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.1553, allocations: 4 kB / 417.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003702/0.1557, allocations: 75.61 kB / 417.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.156, allocations: 67.81 kB / 417.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.1572, allocations: 0.6071 MB / 418.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003061/0.1575, allocations: 95.78 kB / 418.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.1577, allocations: 41.27 kB / 418.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.75e-05/0.1578, allocations: 51.78 kB / 418.3 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.158, allocations: 55.77 kB / 418.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.158, allocations: 8 kB / 418.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003708/0.1584, allocations: 127.8 kB / 418.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.1584, allocations: 19.92 kB / 418.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.952e-05/0.1584, allocations: 49.64 kB / 418.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003557/0.1588, allocations: 179.8 kB / 418.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1588, allocations: 3.938 kB / 418.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1588, allocations: 4 kB / 418.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1588, allocations: 0 / 418.8 MB, free: 5.234 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001625/0.1605, allocations: 0.5615 MB / 419.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.1605, allocations: 8.031 kB / 419.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.054e-05/0.1606, allocations: 15.86 kB / 419.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.1609, allocations: 218.8 kB / 419.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.1609, allocations: 8.234 kB / 419.6 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.161, allocations: 12 kB / 419.6 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003205/0.1613, allocations: 163.4 kB / 419.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1613, allocations: 0 / 419.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.1613, allocations: 8 kB / 419.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.1613, allocations: 4 kB / 419.8 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002433/0.1616, allocations: 156.6 kB / 419.9 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.1627, allocations: 0.5753 MB / 420.5 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/0.163, allocations: 154.5 kB / 420.6 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.694e-05/0.1631, allocations: 7.938 kB / 420.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.1631, allocations: 30.56 kB / 420.7 MB, free: 3.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.813e-06/0.1631, allocations: 0 / 420.7 MB, free: 3.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001013/0.1642, allocations: 383.3 kB / 421.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.1642, allocations: 59.34 kB / 421.1 MB, free: 2.691 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.1644, allocations: 158.4 kB / 421.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.1644, allocations: 33.7 kB / 421.3 MB, free: 2.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.866e-05/0.1645, allocations: 120.1 kB / 421.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.1646, allocations: 43.34 kB / 421.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/0.1646, allocations: 8 kB / 421.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1647, allocations: 322.8 kB / 421.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.1649, allocations: 91.97 kB / 421.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.165, allocations: 94.2 kB / 422 MB, free: 1.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.1652, allocations: 95.98 kB / 422.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1652, allocations: 0 / 422.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005486/0.1657, allocations: 299.2 kB / 422.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.1658, allocations: 8 kB / 422.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1658, allocations: 0 / 422.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003074/0.1661, allocations: 56.81 kB / 422.4 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.1663, allocations: 35.92 kB / 422.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2553/0.4217, allocations: 1.435 MB / 423.9 MB, free: 40.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.4219, allocations: 18 kB / 423.9 MB, free: 40.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.422, allocations: 11.28 kB / 423.9 MB, free: 40.39 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.4221, allocations: 126.4 kB / 424 MB, free: 40.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.4222, allocations: 16.75 kB / 424.1 MB, free: 40.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005586/0.4227, allocations: 239.1 kB / 424.3 MB, free: 40.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4227, allocations: 2.594 kB / 424.3 MB, free: 40.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.4227, allocations: 3.562 kB / 424.3 MB, free: 40.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.4228, allocations: 2.984 kB / 424.3 MB, free: 40.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.423, allocations: 260.7 kB / 424.5 MB, free: 40.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.423, allocations: 0 / 424.5 MB, free: 40.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.394e-05/0.4231, allocations: 20.52 kB / 424.6 MB, free: 40.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002242/0.4233, allocations: 52.42 kB / 424.6 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.4234, allocations: 3.531 kB / 424.6 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.4244, allocations: 1.44 MB / 426.1 MB, free: 38.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.4244, allocations: 0 / 426.1 MB, free: 38.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004037/0.4248, allocations: 307.9 kB / 426.4 MB, free: 38.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/0.4249, allocations: 91.06 kB / 426.5 MB, free: 38.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.4249, allocations: 3.766 kB / 426.5 MB, free: 38.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.425, allocations: 2.938 kB / 426.5 MB, free: 38.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.4251, allocations: 26.56 kB / 426.5 MB, free: 38.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.4251, allocations: 2.75 kB / 426.5 MB, free: 38.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.083e-05/0.4252, allocations: 131.1 kB / 426.6 MB, free: 38.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4252, allocations: 0 / 426.6 MB, free: 38.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000339/0.4255, allocations: 57.5 kB / 426.7 MB, free: 38.48 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001968/0.4257, allocations: 110.5 kB / 426.8 MB, free: 38.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005996/0.4264, allocations: 314.2 kB / 427.1 MB, free: 38.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4264, allocations: 6.281 kB / 427.1 MB, free: 38.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003116/0.4267, allocations: 199.7 kB / 427.3 MB, free: 38.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.4269, allocations: 5.969 kB / 427.3 MB, free: 38.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005664/0.4274, allocations: 348.2 kB / 427.6 MB, free: 37.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.4276, allocations: 0.7172 MB / 428.4 MB, free: 37.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.746e-05/0.4277, allocations: 20.22 kB / 428.4 MB, free: 37.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.4277, allocations: 19.14 kB / 428.4 MB, free: 37.29 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4278, allocations: 0 / 428.4 MB, free: 37.29 MB / 350.1 MB Notification: Performance of Templates: time 0.004994/0.4328, allocations: 1.949 MB / 430.3 MB, free: 37.18 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1) Environment - environmentSimulation: