Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.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.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") translateModel(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, 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.001331/0.001331, allocations: 175.8 kB / 16.61 MB, free: 6.562 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.492/1.492, allocations: 223.2 MB / 240.6 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2378/0.2378, allocations: 8.088 MB / 299.7 MB, free: 2.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.0003693, allocations: 11.98 kB / 362.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1345, allocations: 52.51 MB / 415.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.001993/0.1365, allocations: 1.287 MB / 416.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.1388, allocations: 1.396 MB / 418 MB, free: 6.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002361/0.1391, allocations: 4 kB / 418 MB, free: 6.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004199/0.1395, allocations: 95.52 kB / 418.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.1399, allocations: 95.69 kB / 418.1 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.1414, allocations: 0.7513 MB / 418.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004094/0.1418, allocations: 159.6 kB / 419.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002211/0.142, allocations: 93.62 kB / 419.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.1422, allocations: 83.7 kB / 419.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.1424, allocations: 115.5 kB / 419.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.266e-05/0.1424, allocations: 12 kB / 419.4 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000462/0.1429, allocations: 167.8 kB / 419.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.387e-05/0.143, allocations: 43.83 kB / 419.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.898e-05/0.1431, allocations: 61.58 kB / 419.6 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004296/0.1435, allocations: 279.6 kB / 419.9 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.1435, allocations: 0 / 419.9 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1435, allocations: 4 kB / 419.9 MB, free: 4.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.1435, allocations: 0 / 419.9 MB, free: 4.098 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002217/0.1457, allocations: 0.7215 MB / 420.6 MB, free: 3.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.1458, allocations: 12.03 kB / 420.6 MB, free: 3.316 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.146, allocations: 31.67 kB / 420.7 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.1463, allocations: 242.6 kB / 420.9 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.1463, allocations: 20.55 kB / 420.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.314e-05/0.1463, allocations: 24 kB / 420.9 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005101/0.1469, allocations: 292.8 kB / 421.2 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1469, allocations: 0 / 421.2 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.1469, allocations: 12 kB / 421.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.1469, allocations: 8 kB / 421.2 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004863/0.1474, allocations: 290.1 kB / 421.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.149, allocations: 0.9047 MB / 422.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004923/0.1495, allocations: 290.5 kB / 422.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.447e-05/0.1496, allocations: 4 kB / 422.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.1496, allocations: 38.56 kB / 422.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.323e-06/0.1496, allocations: 0 / 422.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001208/0.1508, allocations: 0.5112 MB / 423.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.1509, allocations: 59.41 kB / 423.3 MB, free: 468 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.1511, allocations: 166.3 kB / 423.5 MB, free: 292 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.1511, allocations: 29.7 kB / 423.5 MB, free: 256 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.1512, allocations: 148.4 kB / 423.7 MB, free: 104 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.021e-05/0.1513, allocations: 90.64 kB / 423.8 MB, free: 12 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.935e-05/0.1513, allocations: 8 kB / 423.8 MB, free: 4 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.2753/0.4266, allocations: 323.1 kB / 424.1 MB, free: 40.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/0.427, allocations: 131.5 kB / 424.2 MB, free: 40.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.4272, allocations: 124.5 kB / 424.3 MB, free: 40.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.4275, allocations: 143.2 kB / 424.5 MB, free: 40.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.4276, allocations: 1.344 kB / 424.5 MB, free: 40.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008528/0.4284, allocations: 411.3 kB / 424.9 MB, free: 40.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.4285, allocations: 3.031 kB / 424.9 MB, free: 40.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.4285, allocations: 0 / 424.9 MB, free: 40.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003335/0.4288, allocations: 52.36 kB / 424.9 MB, free: 40.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002994/0.4291, allocations: 60.41 kB / 425 MB, free: 40.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.4305, allocations: 1.444 MB / 426.4 MB, free: 39.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.4307, allocations: 20.17 kB / 426.4 MB, free: 39.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.4308, allocations: 13.78 kB / 426.5 MB, free: 39.47 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 (35): * Single equations (assignments): 34 * 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.0001738/0.4309, allocations: 145.5 kB / 426.6 MB, free: 39.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.174e-05/0.431, allocations: 12.75 kB / 426.6 MB, free: 39.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006934/0.4317, allocations: 353.7 kB / 427 MB, free: 39.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.4317, allocations: 3.812 kB / 427 MB, free: 39.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.4317, allocations: 0.6562 kB / 427 MB, free: 39.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.4317, allocations: 3.422 kB / 427 MB, free: 39.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004066/0.4322, allocations: 361.3 kB / 427.3 MB, free: 39.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4322, allocations: 1.5 kB / 427.3 MB, free: 39.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.4323, allocations: 40.33 kB / 427.4 MB, free: 39.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001949/0.4325, allocations: 58.72 kB / 427.4 MB, free: 39.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.4326, allocations: 9.078 kB / 427.4 MB, free: 39.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.4336, allocations: 1.434 MB / 428.9 MB, free: 37.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4336, allocations: 3.75 kB / 428.9 MB, free: 37.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005776/0.4342, allocations: 399.9 kB / 429.3 MB, free: 37.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.4343, allocations: 101.5 kB / 429.4 MB, free: 37.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.4343, allocations: 6.969 kB / 429.4 MB, free: 37.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.4344, allocations: 5.844 kB / 429.4 MB, free: 37.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.4345, allocations: 19.23 kB / 429.4 MB, free: 37.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.4345, allocations: 3.344 kB / 429.4 MB, free: 37.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.4346, allocations: 131.8 kB / 429.5 MB, free: 37.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4346, allocations: 1.875 kB / 429.5 MB, free: 37.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004018/0.435, allocations: 82.81 kB / 429.6 MB, free: 37.52 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 (25): * Single equations (assignments): 24 * 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.0002355/0.4353, allocations: 115.2 kB / 429.7 MB, free: 37.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000729/0.436, allocations: 426.9 kB / 430.1 MB, free: 37.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.436, allocations: 0 / 430.1 MB, free: 37.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003635/0.4364, allocations: 254.8 kB / 430.4 MB, free: 37.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.4366, allocations: 8.484 kB / 430.4 MB, free: 37.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008316/0.4374, allocations: 0.5489 MB / 430.9 MB, free: 36.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.4376, allocations: 0.7489 MB / 431.7 MB, free: 36.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.4378, allocations: 27.23 kB / 431.7 MB, free: 36.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.231e-05/0.4379, allocations: 25.92 kB / 431.7 MB, free: 36.19 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4379, allocations: 0 / 431.7 MB, free: 36.19 MB / 350.1 MB Notification: Performance of Templates: time 0.006232/0.4441, allocations: 2.476 MB / 434.2 MB, free: 36.04 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1) Environment - environmentSimulation: