Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 105.3 kB / 16.45 MB, free: 6.445 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.001109/0.001109, allocations: 198 kB / 17.39 MB, free: 5.68 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.269/1.269, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04202/0.04202, allocations: 8.104 MB / 299.3 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 67.89 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08907/0.09021, allocations: 51.52 MB / 465.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.00349/0.09376, allocations: 2.788 MB / 468.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002331/0.09611, allocations: 1.768 MB / 470.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002831/0.09641, allocations: 8 kB / 470.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004922/0.09695, allocations: 171 kB / 470.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007027/0.09767, allocations: 270.3 kB / 470.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.09961, allocations: 1.12 MB / 471.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007221/0.1003, allocations: 0.5131 MB / 472.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002554/0.1006, allocations: 160.3 kB / 472.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000255/0.1009, allocations: 215.2 kB / 472.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000401/0.1013, allocations: 266.9 kB / 472.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.92e-05/0.1014, allocations: 40 kB / 472.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004667/0.1018, allocations: 255.8 kB / 473 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.058e-05/0.1019, allocations: 103.5 kB / 473.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.1022, allocations: 250.8 kB / 473.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007619/0.1029, allocations: 0.6784 MB / 474.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1029, allocations: 0 / 474.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1029, allocations: 0 / 474.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.909e-05/0.103, allocations: 4 kB / 474.1 MB, free: 10.06 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.00605/0.109, allocations: 1.654 MB / 475.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.1091, allocations: 11.89 kB / 475.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.1092, allocations: 70.72 kB / 475.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.1093, allocations: 56.38 kB / 475.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004372/0.1098, allocations: 364 kB / 476.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.1098, allocations: 29.38 kB / 476.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-05/0.1099, allocations: 48.38 kB / 476.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009429/0.1109, allocations: 0.6008 MB / 476.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1109, allocations: 0 / 476.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.7e-05/0.1109, allocations: 12 kB / 476.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.111, allocations: 8 kB / 476.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008383/0.1118, allocations: 0.5545 MB / 477.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003036/0.1148, allocations: 2.223 MB / 479.7 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.116, allocations: 0.877 MB / 480.6 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005118/0.1165, allocations: 406.4 kB / 481 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001503/0.118, allocations: 1.341 MB / 482.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.1181, allocations: 43 kB / 482.3 MB, free: 1.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 1.883e-06/0.1181, allocations: 3.938 kB / 482.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.009561/0.1276, allocations: 2.646 MB / 485 MB, free: 14.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.053e-05/0.1278, allocations: 115.2 kB / 485.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.1281, allocations: 341.4 kB / 485.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.38e-05/0.1282, allocations: 37.7 kB / 485.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.1283, allocations: 205 kB / 485.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.1285, allocations: 181.3 kB / 485.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/0.1287, allocations: 146.6 kB / 486 MB, free: 13.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1289, allocations: 350.8 kB / 486.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005609/0.1294, allocations: 401.9 kB / 486.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006401/0.1301, allocations: 0.5089 MB / 487.2 MB, free: 12.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.1314, allocations: 0.9414 MB / 488.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.1314, allocations: 4 kB / 488.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004493/0.1359, allocations: 1.785 MB / 490 MB, free: 9.512 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.1359, allocations: 8 kB / 490 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.1359, allocations: 3.984 kB / 490 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004483/0.1404, allocations: 1.092 MB / 491.1 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004343/0.1409, allocations: 119.8 kB / 491.2 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008477/0.1494, allocations: 5.225 MB / 496.4 MB, free: 2.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005345/0.1499, allocations: 79.2 kB / 496.5 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.977e-05/0.15, allocations: 24 kB / 496.5 MB, free: 2.816 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (70): * Single equations (assignments): 69 * 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): 1 system {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002527/0.1503, allocations: 181.7 kB / 496.7 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.1504, allocations: 43.53 kB / 496.7 MB, free: 2.586 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004243/0.1546, allocations: 1.632 MB / 498.4 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.1547, allocations: 4 kB / 498.4 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/0.1547, allocations: 4 kB / 498.4 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.1547, allocations: 7.984 kB / 498.4 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006341/0.1553, allocations: 0.6619 MB / 499 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1553, allocations: 0 / 499 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.1556, allocations: 67.91 kB / 499.1 MB, free: 148 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00437/0.16, allocations: 1.027 MB / 0.4884 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.259e-05/0.16, allocations: 12 kB / 0.4884 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00847/0.1685, allocations: 5.202 MB / 0.4935 GB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1685, allocations: 0 / 0.4935 GB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004196/0.1727, allocations: 1.628 MB / 0.4951 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.1729, allocations: 124.4 kB / 0.4952 GB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.37e-05/0.173, allocations: 12 kB / 0.4952 GB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000443/0.1734, allocations: 23.98 kB / 0.4953 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.1736, allocations: 48.8 kB / 0.4953 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.561e-05/0.1736, allocations: 20 kB / 0.4953 GB, free: 7.879 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000204/0.1738, allocations: 223.1 kB / 0.4955 GB, free: 7.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1738, allocations: 0 / 0.4955 GB, free: 7.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007424/0.1746, allocations: 247.8 kB / 0.4958 GB, free: 7.418 MB / 382.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 (39): * Single equations (assignments): 38 * 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): 1 system {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004466/0.1791, allocations: 2.203 MB / 0.4979 GB, free: 5.184 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002886/0.182, allocations: 1.333 MB / 0.4992 GB, free: 3.844 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.182, allocations: 0 / 0.4992 GB, free: 3.844 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001992/0.184, allocations: 0.8153 MB / 0.5 GB, free: 3.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.1844, allocations: 44.25 kB / 0.5001 GB, free: 2.977 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1898/0.3742, allocations: 6.65 MB / 0.5066 GB, free: 44.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.3745, allocations: 0.8338 MB / 0.5074 GB, free: 43.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001919/0.3747, allocations: 62.05 kB / 0.5074 GB, free: 43.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.3749, allocations: 150 kB / 0.5076 GB, free: 43.38 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3749, allocations: 4.469 kB / 0.5076 GB, free: 43.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04586/0.4208, allocations: 18.14 MB / 0.5253 GB, free: 37.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.364/9.785, allocations: 7.938 kB / 0.5253 GB, free: 37.61 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe 2>&1)