Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001191, allocations: 97.25 kB / 16.06 MB, free: 40 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.001539/0.001539, allocations: 181.5 kB / 16.96 MB, free: 6.871 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.544/1.544, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2573/0.2573, allocations: 8.081 MB / 300.2 MB, free: 2.891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003422, allocations: 8 kB / 363.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1268, allocations: 52.52 MB / 416 MB, free: 8.367 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.00161/0.1285, allocations: 0.9246 MB / 416.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.1308, allocations: 1.466 MB / 418.4 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.1309, allocations: 4 kB / 418.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000427/0.1314, allocations: 91.67 kB / 418.5 MB, free: 5.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.1317, allocations: 67.59 kB / 418.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.1334, allocations: 0.8446 MB / 419.4 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000316/0.1337, allocations: 155.2 kB / 419.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.1338, allocations: 53.5 kB / 419.6 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.1339, allocations: 55.73 kB / 419.7 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.1341, allocations: 75.67 kB / 419.7 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.1342, allocations: 8 kB / 419.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004967/0.1347, allocations: 191.8 kB / 419.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.722e-05/0.1347, allocations: 23.86 kB / 419.9 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.1348, allocations: 93.36 kB / 420 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006157/0.1355, allocations: 299.3 kB / 420.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1355, allocations: 4 kB / 420.3 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1355, allocations: 4 kB / 420.3 MB, free: 4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1355, allocations: 0 / 420.3 MB, free: 4 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.001791/0.1373, allocations: 0.6007 MB / 420.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.1374, allocations: 8.031 kB / 420.9 MB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.986e-05/0.1375, allocations: 16.75 kB / 421 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.1378, allocations: 232.5 kB / 421.2 MB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.1378, allocations: 8.609 kB / 421.2 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.1378, allocations: 12.38 kB / 421.2 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.1382, allocations: 175.6 kB / 421.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1382, allocations: 0 / 421.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.1382, allocations: 8 kB / 421.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-06/0.1382, allocations: 4 kB / 421.4 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002542/0.1385, allocations: 160.6 kB / 421.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.1396, allocations: 0.703 MB / 422.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005117/0.1402, allocations: 210.4 kB / 422.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.1403, allocations: 92.84 kB / 422.5 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.592e-05/0.1404, allocations: 4 kB / 422.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.1404, allocations: 34.84 kB / 422.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.1404, allocations: 4 kB / 422.6 MB, free: 1.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001709/0.1421, allocations: 0.5645 MB / 423.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.1422, allocations: 51.41 kB / 423.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.1424, allocations: 176.6 kB / 423.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.1424, allocations: 33.7 kB / 423.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.996e-05/0.1425, allocations: 112.3 kB / 423.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.326e-05/0.1425, allocations: 51.2 kB / 423.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.956e-05/0.1426, allocations: 29.7 kB / 423.6 MB, free: 496 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1427, allocations: 322.8 kB / 423.9 MB, free: 164 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.1429, allocations: 91.97 kB / 424 MB, free: 72 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2465/0.3894, allocations: 91.58 kB / 424.1 MB, free: 41.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003807/0.3898, allocations: 212.4 kB / 424.3 MB, free: 41.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3899, allocations: 1.5 kB / 424.3 MB, free: 41.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009242/0.3908, allocations: 381.1 kB / 424.7 MB, free: 41.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.3908, allocations: 6.938 kB / 424.7 MB, free: 41.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.3908, allocations: 0 / 424.7 MB, free: 41.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006715/0.3915, allocations: 135 kB / 424.8 MB, free: 41.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.3917, allocations: 33.2 kB / 424.8 MB, free: 41.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/0.3938, allocations: 1.897 MB / 426.7 MB, free: 40.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.3939, allocations: 13.03 kB / 426.8 MB, free: 40.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.394, allocations: 6.438 kB / 426.8 MB, free: 40.26 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 (18): * Single equations (assignments): 17 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.3941, allocations: 130.5 kB / 426.9 MB, free: 40.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.3941, allocations: 15.97 kB / 426.9 MB, free: 40.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008175/0.395, allocations: 362.9 kB / 427.3 MB, free: 40.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.395, allocations: 4.469 kB / 427.3 MB, free: 40.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.395, allocations: 0 / 427.3 MB, free: 40.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.395, allocations: 5.109 kB / 427.3 MB, free: 40.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.3953, allocations: 295.9 kB / 427.6 MB, free: 39.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3953, allocations: 0 / 427.6 MB, free: 39.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.027e-05/0.3954, allocations: 28.28 kB / 427.6 MB, free: 39.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005616/0.3959, allocations: 137.5 kB / 427.7 MB, free: 39.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.396, allocations: 8 kB / 427.7 MB, free: 39.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001668/0.3976, allocations: 1.855 MB / 429.6 MB, free: 38.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3977, allocations: 6.906 kB / 429.6 MB, free: 38.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00078/0.3984, allocations: 435 kB / 430 MB, free: 38.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.3985, allocations: 88.17 kB / 430.1 MB, free: 38.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.3985, allocations: 9.422 kB / 430.1 MB, free: 38.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.3987, allocations: 9.5 kB / 430.1 MB, free: 38.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.3988, allocations: 22.77 kB / 430.1 MB, free: 38.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.3988, allocations: 10.56 kB / 430.2 MB, free: 38.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.3989, allocations: 127.1 kB / 430.3 MB, free: 38.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3989, allocations: 0 / 430.3 MB, free: 38.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000375/0.3993, allocations: 67.73 kB / 430.3 MB, free: 38.27 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 (13): * Single equations (assignments): 12 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002317/0.3995, allocations: 113.8 kB / 430.5 MB, free: 38.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007299/0.4003, allocations: 383.4 kB / 430.8 MB, free: 38.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4003, allocations: 0 / 430.8 MB, free: 38.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003906/0.4007, allocations: 259.6 kB / 431.1 MB, free: 37.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.401, allocations: 21.39 kB / 431.1 MB, free: 37.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006172/0.4017, allocations: 430.6 kB / 431.5 MB, free: 37.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.4019, allocations: 0.7252 MB / 432.2 MB, free: 37.01 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.901e-05/0.4019, allocations: 23.64 kB / 432.3 MB, free: 37.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/0.402, allocations: 17.28 kB / 432.3 MB, free: 37 MB / 350.1 MB Notification: Performance of SimCode: time 4.4e-07/0.402, allocations: 3.844 kB / 432.3 MB, free: 37 MB / 350.1 MB Notification: Performance of Templates: time 0.006872/0.4089, allocations: 3.704 MB / 436 MB, free: 36.8 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1) Environment - environmentSimulation: