Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009857/0.0009856, allocations: 95.81 kB / 15.73 MB, free: 440 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.001189/0.00119, allocations: 177.6 kB / 16.61 MB, free: 6.426 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.42/1.42, allocations: 223.2 MB / 240.6 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.207/0.207, allocations: 8.073 MB / 299.7 MB, free: 2.965 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003918, allocations: 8 kB / 362.8 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1256, allocations: 52.52 MB / 415.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.002111/0.1278, allocations: 1.095 MB / 416.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002897/0.1307, allocations: 1.451 MB / 417.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002875/0.131, allocations: 4 kB / 417.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005293/0.1316, allocations: 87.52 kB / 417.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004406/0.1321, allocations: 107.7 kB / 418 MB, free: 5.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.1336, allocations: 0.7511 MB / 418.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004476/0.1341, allocations: 159.6 kB / 418.9 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.1343, allocations: 72.08 kB / 419 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.198e-05/0.1344, allocations: 83.7 kB / 419.1 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.1346, allocations: 103.6 kB / 419.2 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.1346, allocations: 12 kB / 419.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004403/0.1351, allocations: 159.8 kB / 419.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.315e-05/0.1351, allocations: 39.83 kB / 419.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.038e-05/0.1352, allocations: 69.58 kB / 419.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003985/0.1356, allocations: 267.6 kB / 419.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1356, allocations: 0 / 419.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.1356, allocations: 0 / 419.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1357, allocations: 0 / 419.7 MB, free: 4.285 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002729/0.1384, allocations: 0.7837 MB / 420.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1384, allocations: 8.031 kB / 420.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.702e-05/0.1385, allocations: 31.67 kB / 420.5 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.1389, allocations: 251.2 kB / 420.8 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.1389, allocations: 16.33 kB / 420.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.139, allocations: 16 kB / 420.8 MB, free: 3.098 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004258/0.1394, allocations: 255.8 kB / 421.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1394, allocations: 0 / 421.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.1395, allocations: 15.94 kB / 421.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.1395, allocations: 11.95 kB / 421.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003593/0.1399, allocations: 243.8 kB / 421.3 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.1416, allocations: 1.133 MB / 422.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000661/0.1423, allocations: 310.5 kB / 422.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.103e-05/0.1424, allocations: 7.984 kB / 422.8 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.1424, allocations: 38.56 kB / 422.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.553e-06/0.1424, allocations: 3.938 kB / 422.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.2458/0.3882, allocations: 0.9577 MB / 423.8 MB, free: 41.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/0.3883, allocations: 56.59 kB / 423.8 MB, free: 41.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003832/0.3887, allocations: 183 kB / 424 MB, free: 41.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.3888, allocations: 34.45 kB / 424 MB, free: 41.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.3889, allocations: 130.9 kB / 424.2 MB, free: 41.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.723e-05/0.389, allocations: 83.62 kB / 424.2 MB, free: 41.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.3891, allocations: 4.188 kB / 424.2 MB, free: 41.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.028e-05/0.3892, allocations: 336.2 kB / 424.6 MB, free: 40.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.3894, allocations: 151.5 kB / 424.7 MB, free: 40.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.3896, allocations: 157.8 kB / 424.9 MB, free: 40.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.3899, allocations: 174.2 kB / 425 MB, free: 40.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3899, allocations: 0 / 425 MB, free: 40.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00148/0.3914, allocations: 0.6434 MB / 425.7 MB, free: 40.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.3914, allocations: 6.25 kB / 425.7 MB, free: 40.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3914, allocations: 0 / 425.7 MB, free: 40.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/0.3928, allocations: 328.5 kB / 426 MB, free: 40.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.393, allocations: 44.7 kB / 426.1 MB, free: 40.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003558/0.3966, allocations: 2.603 MB / 428.7 MB, free: 39.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.3968, allocations: 21.56 kB / 428.7 MB, free: 39.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.3968, allocations: 15.66 kB / 428.7 MB, free: 39.34 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 (27): * Single equations (assignments): 26 * 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 {6 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001437/0.397, allocations: 132.5 kB / 428.8 MB, free: 39.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.377e-05/0.397, allocations: 21.45 kB / 428.9 MB, free: 39.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/0.3984, allocations: 0.6234 MB / 429.5 MB, free: 39.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3985, allocations: 5.062 kB / 429.5 MB, free: 39.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.3985, allocations: 4 kB / 429.5 MB, free: 39.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.3985, allocations: 3.328 kB / 429.5 MB, free: 39.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003388/0.3988, allocations: 388.4 kB / 429.9 MB, free: 38.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3988, allocations: 0 / 429.9 MB, free: 38.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.3989, allocations: 33.53 kB / 429.9 MB, free: 38.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001194/0.4001, allocations: 311 kB / 430.2 MB, free: 38.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.4002, allocations: 10.3 kB / 430.2 MB, free: 38.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00307/0.4032, allocations: 2.576 MB / 432.8 MB, free: 37.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4033, allocations: 1.438 kB / 432.8 MB, free: 37.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.4045, allocations: 0.6659 MB / 433.5 MB, free: 37.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.697e-05/0.4046, allocations: 107.5 kB / 433.6 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/0.4047, allocations: 6.906 kB / 433.6 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.4049, allocations: 16.77 kB / 433.6 MB, free: 37.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.573e-05/0.4049, allocations: 24.78 kB / 433.6 MB, free: 37.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.405, allocations: 9.531 kB / 433.6 MB, free: 37.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.4051, allocations: 150.4 kB / 433.8 MB, free: 37.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4051, allocations: 0 / 433.8 MB, free: 37.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004322/0.4056, allocations: 94.67 kB / 433.9 MB, free: 37.21 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 (20): * Single equations (assignments): 19 * 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 {6 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001731/0.4057, allocations: 116.7 kB / 434 MB, free: 37.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.4069, allocations: 0.6118 MB / 434.6 MB, free: 36.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4069, allocations: 0 / 434.6 MB, free: 36.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007955/0.4077, allocations: 432 kB / 435 MB, free: 36.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.408, allocations: 14.44 kB / 435 MB, free: 36.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006583/0.4086, allocations: 0.564 MB / 435.6 MB, free: 36.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.4088, allocations: 0.757 MB / 436.3 MB, free: 35.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.512e-05/0.4089, allocations: 36.39 kB / 436.4 MB, free: 35.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.4089, allocations: 18.88 kB / 436.4 MB, free: 35.49 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4089, allocations: 0 / 436.4 MB, free: 35.49 MB / 350.1 MB Notification: Performance of Templates: time 0.007575/0.4165, allocations: 5.286 MB / 441.7 MB, free: 35.16 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1) Environment - environmentSimulation: