Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.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.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") translateModel(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009522/0.0009521, allocations: 100.3 kB / 15.73 MB, free: 436 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.001256/0.001257, allocations: 178.2 kB / 16.61 MB, free: 6.418 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.498/1.498, allocations: 223.2 MB / 240.6 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2354/0.2354, allocations: 8.078 MB / 299.7 MB, free: 2.906 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003897, allocations: 11.98 kB / 362.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1374, allocations: 52.52 MB / 415.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.003944/0.1414, allocations: 2.945 MB / 418.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003655/0.1451, allocations: 1.868 MB / 420.1 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007782/0.1459, allocations: 12 kB / 420.1 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007985/0.1467, allocations: 147.1 kB / 420.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.1482, allocations: 382.9 kB / 420.6 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002404/0.1506, allocations: 1.067 MB / 421.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001602/0.1522, allocations: 0.5495 MB / 422.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006365/0.1529, allocations: 198 kB / 422.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009522/0.1538, allocations: 279 kB / 422.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.155, allocations: 366.5 kB / 423.1 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001604/0.1551, allocations: 32 kB / 423.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009853/0.1561, allocations: 235.8 kB / 423.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.1563, allocations: 123.5 kB / 423.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002593/0.1566, allocations: 145.3 kB / 423.6 MB, free: 396 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2713/0.4279, allocations: 0.6602 MB / 424.2 MB, free: 35.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.428, allocations: 2.719 kB / 424.3 MB, free: 35.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.418e-06/0.428, allocations: 1.812 kB / 424.3 MB, free: 35.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.999e-05/0.428, allocations: 0 / 424.3 MB, free: 35.8 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.008371/0.4364, allocations: 2.027 MB / 426.3 MB, free: 35.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.4365, allocations: 9.688 kB / 426.3 MB, free: 35.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000297/0.4368, allocations: 87.36 kB / 426.4 MB, free: 35.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006509/0.4374, allocations: 468.4 kB / 426.8 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/0.4375, allocations: 48.41 kB / 426.9 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.399e-05/0.4376, allocations: 61.31 kB / 426.9 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.4388, allocations: 0.8198 MB / 427.8 MB, free: 34.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.4389, allocations: 3.422 kB / 427.8 MB, free: 34.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.631e-05/0.4389, allocations: 29.41 kB / 427.8 MB, free: 34.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.439, allocations: 12.38 kB / 427.8 MB, free: 34.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.44, allocations: 0.7863 MB / 428.6 MB, free: 34.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004047/0.4441, allocations: 3.358 MB / 431.9 MB, free: 33.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.4456, allocations: 1.357 MB / 433.3 MB, free: 32.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.4458, allocations: 25.17 kB / 433.3 MB, free: 32.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.4458, allocations: 48.09 kB / 433.4 MB, free: 32.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=89): time 2.083e-06/0.4458, allocations: 0 / 433.4 MB, free: 32.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=89): time 0.01396/0.4598, allocations: 3.906 MB / 437.3 MB, free: 32.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.4599, allocations: 113.3 kB / 437.4 MB, free: 32.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005672/0.4605, allocations: 429.3 kB / 437.8 MB, free: 32.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001507/0.4606, allocations: 48.61 kB / 437.9 MB, free: 32.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.4608, allocations: 234.7 kB / 438.1 MB, free: 32.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/0.461, allocations: 304.3 kB / 438.4 MB, free: 31.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.566e-05/0.4611, allocations: 19.03 kB / 438.4 MB, free: 31.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.4612, allocations: 376.6 kB / 438.8 MB, free: 31.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007077/0.4619, allocations: 0.532 MB / 439.3 MB, free: 31.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008423/0.4628, allocations: 0.612 MB / 439.9 MB, free: 31.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008249/0.4636, allocations: 0.5862 MB / 440.5 MB, free: 31.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4636, allocations: 7.062 kB / 440.5 MB, free: 31.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005815/0.4694, allocations: 2.371 MB / 442.9 MB, free: 30.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.4695, allocations: 12.25 kB / 442.9 MB, free: 30.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.4695, allocations: 0 / 442.9 MB, free: 30.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006175/0.4757, allocations: 1.775 MB / 444.7 MB, free: 30.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006678/0.4764, allocations: 145.9 kB / 444.8 MB, free: 30.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01167/0.4881, allocations: 6.997 MB / 451.8 MB, free: 26.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009321/0.489, allocations: 97.69 kB / 451.9 MB, free: 26.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.643e-05/0.4891, allocations: 34.97 kB / 451.9 MB, free: 26.18 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 (87): * Single equations (assignments): 86 * 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 {18 20} Notification: Performance of prepare postOptimizeDAE: time 0.0003248/0.4895, allocations: 201.8 kB / 452.1 MB, free: 26.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.4896, allocations: 63.84 kB / 452.2 MB, free: 25.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005572/0.4952, allocations: 2.328 MB / 454.5 MB, free: 25.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.4952, allocations: 9.438 kB / 454.5 MB, free: 25.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.4952, allocations: 0 / 454.5 MB, free: 25.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.4952, allocations: 6.641 kB / 454.5 MB, free: 25.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006513/0.5017, allocations: 3.325 MB / 457.9 MB, free: 23.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.5018, allocations: 0 / 457.9 MB, free: 23.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003722/0.5021, allocations: 109 kB / 458 MB, free: 23.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005937/0.5081, allocations: 1.512 MB / 459.5 MB, free: 23.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.245e-05/0.5082, allocations: 21.58 kB / 459.5 MB, free: 23.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01381/0.522, allocations: 6.879 MB / 466.4 MB, free: 19.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.5221, allocations: 0 / 466.4 MB, free: 19.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006555/0.5286, allocations: 2.268 MB / 468.6 MB, free: 18.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003082/0.529, allocations: 155.6 kB / 468.8 MB, free: 18.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/0.5292, allocations: 29.27 kB / 468.8 MB, free: 18.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008171/0.53, allocations: 62.41 kB / 468.9 MB, free: 18.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003433/0.5304, allocations: 77 kB / 469 MB, free: 18.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.5305, allocations: 27.2 kB / 469 MB, free: 18.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004516/0.531, allocations: 290.1 kB / 469.3 MB, free: 17.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.531, allocations: 1.375 kB / 469.3 MB, free: 17.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001585/0.5326, allocations: 337.7 kB / 469.6 MB, free: 17.91 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 (66): * Single equations (assignments): 65 * 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 {18 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003325/0.5329, allocations: 142.4 kB / 469.7 MB, free: 17.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006345/0.5393, allocations: 1.923 MB / 471.7 MB, free: 16.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.5393, allocations: 5.094 kB / 471.7 MB, free: 16.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004323/0.5436, allocations: 1.256 MB / 472.9 MB, free: 16.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008415/0.5445, allocations: 59.41 kB / 473 MB, free: 16.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003352/0.5479, allocations: 1.59 MB / 474.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000664/0.5485, allocations: 0.9391 MB / 475.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004777/0.549, allocations: 91.62 kB / 475.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.5492, allocations: 57.95 kB / 475.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of SimCode: time 7.62e-07/0.5492, allocations: 0 / 475.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of Templates: time 0.03543/0.5847, allocations: 20.08 MB / 495.7 MB, free: 1.855 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1) Environment - environmentSimulation: