Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009573/0.0009572, allocations: 96.7 kB / 15.74 MB, free: 424 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.001311/0.001311, allocations: 172.7 kB / 16.62 MB, free: 6.887 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.488/1.488, allocations: 223.3 MB / 240.7 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2408/0.2408, allocations: 8.079 MB / 299.8 MB, free: 2.93 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003769, allocations: 11.98 kB / 362.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1465, allocations: 52.52 MB / 415.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors): time 0.003128/0.1496, allocations: 2.302 MB / 417.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003153/0.1528, allocations: 1.571 MB / 419.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005081/0.1534, allocations: 8 kB / 419.3 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006066/0.154, allocations: 119.4 kB / 419.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000931/0.155, allocations: 202.8 kB / 419.6 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001987/0.157, allocations: 1.012 MB / 420.6 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000582/0.1576, allocations: 441.8 kB / 421 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002717/0.1578, allocations: 131.7 kB / 421.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.158, allocations: 175.3 kB / 421.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003292/0.1584, allocations: 239 kB / 421.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.669e-05/0.1584, allocations: 24 kB / 421.6 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005037/0.1589, allocations: 243.7 kB / 421.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.574e-05/0.159, allocations: 79.66 kB / 421.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.758e-05/0.1591, allocations: 105.5 kB / 422 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005558/0.1597, allocations: 490.9 kB / 422.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1597, allocations: 0 / 422.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1597, allocations: 0 / 422.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.1597, allocations: 8 kB / 422.5 MB, free: 1.594 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.005039/0.1648, allocations: 1.431 MB / 423.9 MB, free: 116 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.1648, allocations: 11.97 kB / 423.9 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.165, allocations: 63.38 kB / 424 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2542/0.4192, allocations: 345.4 kB / 424.3 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.4192, allocations: 30.84 kB / 424.3 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.327e-05/0.4193, allocations: 41.56 kB / 424.4 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008973/0.4202, allocations: 0.5756 MB / 425 MB, free: 40.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.4203, allocations: 1.5 kB / 425 MB, free: 40.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.365e-05/0.4203, allocations: 14.91 kB / 425 MB, free: 40.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.4203, allocations: 10.73 kB / 425 MB, free: 40.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007277/0.4211, allocations: 0.5302 MB / 425.5 MB, free: 40.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00245/0.4235, allocations: 2.29 MB / 427.8 MB, free: 39.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009055/0.4244, allocations: 0.8425 MB / 428.6 MB, free: 39.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003687/0.4248, allocations: 322.1 kB / 429 MB, free: 39.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.519e-05/0.4249, allocations: 13.31 kB / 429 MB, free: 39.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.4249, allocations: 42.42 kB / 429 MB, free: 39.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 2.264e-06/0.425, allocations: 3.094 kB / 429 MB, free: 39.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.006192/0.4312, allocations: 2.012 MB / 431 MB, free: 39.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.4312, allocations: 110.4 kB / 431.1 MB, free: 39.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/0.4315, allocations: 275.3 kB / 431.4 MB, free: 38.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.063e-05/0.4316, allocations: 38.27 kB / 431.4 MB, free: 38.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.079e-05/0.4317, allocations: 174.9 kB / 431.6 MB, free: 38.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.4318, allocations: 185.1 kB / 431.8 MB, free: 38.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.4319, allocations: 13.62 kB / 431.8 MB, free: 38.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.261e-05/0.4319, allocations: 344 kB / 432.1 MB, free: 38.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000445/0.4324, allocations: 318.2 kB / 432.5 MB, free: 38.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005175/0.4329, allocations: 383.7 kB / 432.8 MB, free: 38.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000469/0.4334, allocations: 353.7 kB / 433.2 MB, free: 38.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4334, allocations: 1.312 kB / 433.2 MB, free: 38.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002907/0.4363, allocations: 1.341 MB / 434.5 MB, free: 37.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.4363, allocations: 10.12 kB / 434.5 MB, free: 37.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.4364, allocations: 0 / 434.5 MB, free: 37.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002958/0.4393, allocations: 0.7841 MB / 435.3 MB, free: 37.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.4397, allocations: 103.6 kB / 435.4 MB, free: 37.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006006/0.4458, allocations: 3.83 MB / 439.2 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004595/0.4462, allocations: 57.73 kB / 439.3 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.837e-05/0.4463, allocations: 23.67 kB / 439.3 MB, free: 34.83 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 (61): * Single equations (assignments): 60 * 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: 0 * Non-linear torn systems: 1 {8 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001997/0.4465, allocations: 173.5 kB / 439.5 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.288e-05/0.4466, allocations: 35.47 kB / 439.5 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003002/0.4496, allocations: 1.317 MB / 440.8 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.4496, allocations: 13.86 kB / 440.9 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.4496, allocations: 4 kB / 440.9 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.4496, allocations: 3.422 kB / 440.9 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003324/0.453, allocations: 1.982 MB / 442.8 MB, free: 33.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.453, allocations: 3.188 kB / 442.9 MB, free: 33.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.4532, allocations: 74.03 kB / 442.9 MB, free: 33.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002884/0.4561, allocations: 0.7536 MB / 443.7 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.738e-05/0.4562, allocations: 14.69 kB / 443.7 MB, free: 32.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005224/0.4614, allocations: 3.77 MB / 447.5 MB, free: 30.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4615, allocations: 0 / 447.5 MB, free: 30.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002787/0.4643, allocations: 1.31 MB / 448.8 MB, free: 29.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.969e-05/0.4643, allocations: 121.1 kB / 448.9 MB, free: 29.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.169e-05/0.4644, allocations: 14.53 kB / 448.9 MB, free: 29.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00034/0.4648, allocations: 31.2 kB / 448.9 MB, free: 29.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.867e-05/0.4649, allocations: 46.77 kB / 449 MB, free: 29.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.4649, allocations: 16.78 kB / 449 MB, free: 29.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001487/0.4651, allocations: 188.7 kB / 449.2 MB, free: 29.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4651, allocations: 0 / 449.2 MB, free: 29.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006424/0.4657, allocations: 200.8 kB / 449.4 MB, free: 29.55 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 (45): * Single equations (assignments): 44 * 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: 0 * Non-linear torn systems: 1 {8 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.000177/0.4659, allocations: 135.1 kB / 449.5 MB, free: 29.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00202/0.4679, allocations: 1.101 MB / 450.6 MB, free: 28.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.468, allocations: 0 / 450.6 MB, free: 28.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001383/0.4693, allocations: 0.6995 MB / 451.3 MB, free: 28.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.4697, allocations: 45.34 kB / 451.4 MB, free: 28.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.4708, allocations: 1.014 MB / 452.4 MB, free: 27.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.471, allocations: 0.8261 MB / 453.2 MB, free: 27.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002054/0.4713, allocations: 66.48 kB / 453.3 MB, free: 27.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.918e-05/0.4714, allocations: 37.88 kB / 453.3 MB, free: 27.22 MB / 350.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4714, allocations: 3.562 kB / 453.3 MB, free: 27.22 MB / 350.1 MB Notification: Performance of Templates: time 0.0146/0.486, allocations: 10.88 MB / 464.2 MB, free: 26.51 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe 2>&1) Environment - environmentSimulation: