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.001129/0.001129, allocations: 108.3 kB / 16.45 MB, free: 6.438 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.001179/0.00118, allocations: 186.9 kB / 17.39 MB, free: 5.691 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.288/1.288, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04722/0.04722, allocations: 8.097 MB / 299.3 MB, free: 6.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 63.89 kB / 414 MB, free: 22.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09511/0.09627, allocations: 51.52 MB / 465.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.003624/0.09994, allocations: 2.784 MB / 468.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002583/0.1026, allocations: 1.76 MB / 470 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002364/0.1028, allocations: 8 kB / 470 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004856/0.1034, allocations: 182.9 kB / 470.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000607/0.104, allocations: 262.3 kB / 470.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.106, allocations: 1.116 MB / 471.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000769/0.1068, allocations: 0.5209 MB / 472.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002841/0.1071, allocations: 168.3 kB / 472.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002206/0.1073, allocations: 207.2 kB / 472.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003019/0.1076, allocations: 262.9 kB / 472.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.051e-05/0.1077, allocations: 40 kB / 472.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000558/0.1083, allocations: 263.7 kB / 473 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.774e-05/0.1084, allocations: 103.6 kB / 473.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.1086, allocations: 246.7 kB / 473.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008145/0.1094, allocations: 0.6746 MB / 474.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.1095, allocations: 0 / 474.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1095, allocations: 0 / 474.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.1095, allocations: 4 kB / 474.1 MB, free: 10.07 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.005943/0.1154, allocations: 1.658 MB / 475.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1155, allocations: 11.89 kB / 475.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.794e-05/0.1156, allocations: 74.72 kB / 475.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.1157, allocations: 56.36 kB / 475.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004258/0.1162, allocations: 360 kB / 476.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.1162, allocations: 33.38 kB / 476.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.239e-05/0.1163, allocations: 40.38 kB / 476.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009617/0.1172, allocations: 0.6047 MB / 476.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1173, allocations: 0 / 476.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.095e-05/0.1173, allocations: 16 kB / 476.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.1173, allocations: 12 kB / 476.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008116/0.1182, allocations: 0.5428 MB / 477.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003074/0.1212, allocations: 2.231 MB / 479.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.1224, allocations: 0.8771 MB / 480.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005254/0.1229, allocations: 406.4 kB / 481 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001592/0.1245, allocations: 1.334 MB / 482.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.1246, allocations: 42.98 kB / 482.3 MB, free: 1.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 1.683e-06/0.1246, allocations: 3.938 kB / 482.3 MB, free: 1.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.009545/0.1341, allocations: 2.65 MB / 485 MB, free: 14.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.155e-05/0.1342, allocations: 111.2 kB / 485.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003707/0.1346, allocations: 337.5 kB / 485.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.244e-05/0.1347, allocations: 41.7 kB / 485.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.1349, allocations: 205 kB / 485.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.1351, allocations: 181.3 kB / 485.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002632/0.1353, allocations: 146.6 kB / 486 MB, free: 13.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1355, allocations: 350.8 kB / 486.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005994/0.1361, allocations: 397.9 kB / 486.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006765/0.1368, allocations: 0.5089 MB / 487.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.1381, allocations: 0.9453 MB / 488.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.1381, allocations: 3.938 kB / 488.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004729/0.1428, allocations: 1.789 MB / 490 MB, free: 9.512 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.1429, allocations: 4 kB / 490 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.1429, allocations: 4 kB / 490 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004679/0.1476, allocations: 1.102 MB / 491.1 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004776/0.1481, allocations: 119.8 kB / 491.2 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009007/0.1571, allocations: 5.221 MB / 496.4 MB, free: 2.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005849/0.1577, allocations: 71.31 kB / 496.5 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-05/0.1578, allocations: 35.92 kB / 496.5 MB, free: 2.812 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.0002706/0.1581, allocations: 173.8 kB / 496.7 MB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.1582, allocations: 47.47 kB / 496.7 MB, free: 2.586 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004406/0.1627, allocations: 1.628 MB / 498.4 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.1627, allocations: 8 kB / 498.4 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.1627, allocations: 4 kB / 498.4 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.1627, allocations: 3.984 kB / 498.4 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007437/0.1635, allocations: 0.6736 MB / 499.1 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.1635, allocations: 0 / 499.1 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.1637, allocations: 67.91 kB / 499.1 MB, free: 140 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004476/0.1682, allocations: 1.027 MB / 0.4884 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.259e-05/0.1683, allocations: 8 kB / 0.4884 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008853/0.1772, allocations: 5.202 MB / 0.4935 GB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1772, allocations: 4.031 kB / 0.4935 GB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004355/0.1816, allocations: 1.627 MB / 0.4951 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.1818, allocations: 120.4 kB / 0.4952 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.1819, allocations: 12 kB / 0.4952 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004174/0.1823, allocations: 23.98 kB / 0.4953 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.1825, allocations: 48.44 kB / 0.4953 GB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.073e-05/0.1825, allocations: 19.98 kB / 0.4953 GB, free: 7.871 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002465/0.1828, allocations: 223.2 kB / 0.4955 GB, free: 7.652 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1828, allocations: 4 kB / 0.4955 GB, free: 7.648 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008038/0.1836, allocations: 239.8 kB / 0.4958 GB, free: 7.414 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.00466/0.1883, allocations: 2.192 MB / 0.4979 GB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00311/0.1914, allocations: 1.337 MB / 0.4992 GB, free: 3.852 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.1914, allocations: 384 / 0.4992 GB, free: 3.852 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00208/0.1935, allocations: 0.8153 MB / 0.5 GB, free: 3.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004804/0.194, allocations: 52.5 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.2136/0.4077, allocations: 6.661 MB / 0.5066 GB, free: 44.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.4081, allocations: 0.8292 MB / 0.5074 GB, free: 43.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002371/0.4083, allocations: 61.86 kB / 0.5074 GB, free: 43.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.4086, allocations: 149.1 kB / 0.5076 GB, free: 43.36 MB / 382.1 MB Notification: Performance of SimCode: time 1.253e-06/0.4086, allocations: 1.062 kB / 0.5076 GB, free: 43.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04326/0.4518, allocations: 18.13 MB / 0.5253 GB, free: 37.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.739/10.19, allocations: 8.969 kB / 0.5253 GB, free: 37.59 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)