Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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.OneSourceThreeLinesOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource") translateModel(PowerSysPro.Examples.OneSourceThreeLinesOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004384/0.004384, allocations: 92.8 kB / 15.91 MB, free: 6.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 198.1 kB / 16.83 MB, free: 6.188 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.21/1.21, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1403/0.1403, allocations: 8.076 MB / 298.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 59.91 kB / 361 MB, free: 13.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08096/0.08198, allocations: 51.51 MB / 412.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.002573/0.08458, allocations: 1.874 MB / 414.4 MB, free: 8.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.08623, allocations: 1.551 MB / 416 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.323e-05/0.08631, allocations: 4 kB / 416 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.08661, allocations: 123.5 kB / 416.1 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.08685, allocations: 123.3 kB / 416.2 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.08797, allocations: 0.7745 MB / 417 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.08824, allocations: 286.6 kB / 417.3 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.08841, allocations: 102.1 kB / 417.4 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.34e-05/0.0885, allocations: 111.5 kB / 417.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.08864, allocations: 155.4 kB / 417.6 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.08868, allocations: 16 kB / 417.6 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002448/0.08893, allocations: 163.9 kB / 417.8 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.447e-05/0.08898, allocations: 67.69 kB / 417.9 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.08909, allocations: 135.3 kB / 418 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003713/0.08947, allocations: 423 kB / 418.4 MB, free: 4.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.08948, allocations: 4 kB / 418.4 MB, free: 4.316 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.08949, allocations: 0 / 418.4 MB, free: 4.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.227e-06/0.0895, allocations: 0 / 418.4 MB, free: 4.316 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002706/0.09221, allocations: 0.9515 MB / 419.4 MB, free: 3.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.769e-05/0.09224, allocations: 8.031 kB / 419.4 MB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.675e-05/0.09234, allocations: 40.56 kB / 419.4 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.09259, allocations: 279.5 kB / 419.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.09261, allocations: 16.81 kB / 419.7 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/0.09266, allocations: 32.31 kB / 419.7 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004912/0.09316, allocations: 339.8 kB / 420.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.09318, allocations: 192 / 420.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.09321, allocations: 11.94 kB / 420.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.09322, allocations: 4 kB / 420.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004502/0.09368, allocations: 337.6 kB / 420.4 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.09511, allocations: 1.021 MB / 421.4 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000558/0.09569, allocations: 390.5 kB / 421.8 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/0.096, allocations: 236.7 kB / 422 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.391e-05/0.09607, allocations: 4 kB / 422.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.0961, allocations: 43.09 kB / 422.1 MB, free: 484 kB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.383e-06/0.0961, allocations: 0 / 422.1 MB, free: 484 kB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.00227/0.09838, allocations: 1.05 MB / 423.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.09842, allocations: 59.39 kB / 423.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.09861, allocations: 223 kB / 423.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.09866, allocations: 37.7 kB / 423.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.44e-05/0.09874, allocations: 136.7 kB / 423.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.56e-05/0.09883, allocations: 126.1 kB / 423.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.09896, allocations: 86.11 kB / 423.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.09907, allocations: 338.8 kB / 424.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003164/0.0994, allocations: 236.8 kB / 424.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/0.09972, allocations: 239.9 kB / 424.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006676/0.1004, allocations: 0.5093 MB / 425.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1004, allocations: 0 / 425.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001221/0.1016, allocations: 0.7208 MB / 425.8 MB, free: 12.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1017, allocations: 4 kB / 425.8 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.1017, allocations: 0 / 425.8 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006273/0.1023, allocations: 154.5 kB / 426 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/0.1027, allocations: 83.89 kB / 426.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00347/0.1062, allocations: 4.309 MB / 430.4 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.1064, allocations: 35.62 kB / 430.4 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/0.1064, allocations: 19.92 kB / 430.4 MB, free: 7.59 MB / 366.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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001472/0.1066, allocations: 149.7 kB / 430.6 MB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.076e-05/0.1067, allocations: 27.66 kB / 430.6 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.1078, allocations: 0.6042 MB / 431.2 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1079, allocations: 4 kB / 431.2 MB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.1079, allocations: 0 / 431.2 MB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.1079, allocations: 3.938 kB / 431.2 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000463/0.1083, allocations: 461.1 kB / 431.7 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1084, allocations: 0 / 431.7 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.1086, allocations: 47.91 kB / 431.7 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005595/0.1091, allocations: 154.5 kB / 431.9 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.1092, allocations: 11.98 kB / 431.9 MB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003469/0.1127, allocations: 4.295 MB / 436.2 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.1127, allocations: 3.984 kB / 436.2 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.1137, allocations: 0.6233 MB / 436.8 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.117e-05/0.1138, allocations: 112.6 kB / 436.9 MB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.1138, allocations: 7.938 kB / 436.9 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.114, allocations: 8 kB / 436.9 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.345e-05/0.1141, allocations: 27.91 kB / 436.9 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-05/0.1141, allocations: 15.98 kB / 437 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001286/0.1143, allocations: 164.1 kB / 437.1 MB, free: 372 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1143, allocations: 0 / 437.1 MB, free: 372 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004568/0.1147, allocations: 119.9 kB / 437.2 MB, free: 252 kB / 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (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.0001758/0.1149, allocations: 115.2 kB / 437.4 MB, free: 128 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.1362/0.2511, allocations: 0.877 MB / 438.2 MB, free: 56.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.2512, allocations: 1.375 kB / 438.2 MB, free: 56.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008239/0.252, allocations: 0.5831 MB / 438.8 MB, free: 56.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.2524, allocations: 22.41 kB / 438.8 MB, free: 56.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008536/0.2532, allocations: 0.664 MB / 439.5 MB, free: 56.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.2534, allocations: 0.7554 MB / 440.3 MB, free: 55.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001425/0.2535, allocations: 36.2 kB / 440.3 MB, free: 55.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.254e-05/0.2536, allocations: 28.5 kB / 440.3 MB, free: 55.55 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2536, allocations: 0 / 440.3 MB, free: 55.55 MB / 366.1 MB Notification: Performance of Templates: time 0.006242/0.2599, allocations: 4.543 MB / 444.9 MB, free: 55.39 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1)