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.001912/0.001912, allocations: 104.7 kB / 16.45 MB, free: 6.453 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.002043/0.002043, allocations: 186.4 kB / 17.38 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.44/1.44, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05265/0.05265, allocations: 8.097 MB / 299.3 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 63.91 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09174/0.09367, allocations: 51.52 MB / 465.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.00394/0.09766, allocations: 2.788 MB / 468.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002861/0.1006, allocations: 1.758 MB / 470 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.1008, allocations: 12 kB / 470.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004761/0.1013, allocations: 182.9 kB / 470.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006229/0.1019, allocations: 262.4 kB / 470.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002078/0.104, allocations: 1.12 MB / 471.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006762/0.1047, allocations: 0.5131 MB / 472.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.105, allocations: 168.2 kB / 472.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002077/0.1052, allocations: 211.2 kB / 472.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003245/0.1055, allocations: 262.9 kB / 472.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.584e-05/0.1056, allocations: 40 kB / 472.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004985/0.1061, allocations: 255.8 kB / 473 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.703e-05/0.1062, allocations: 111.5 kB / 473.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002426/0.1064, allocations: 242.8 kB / 473.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008345/0.1073, allocations: 0.6772 MB / 474.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1073, allocations: 0 / 474.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1073, allocations: 0 / 474.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1073, allocations: 0 / 474.1 MB, free: 10.05 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.006545/0.1139, allocations: 1.672 MB / 475.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.1139, allocations: 15.89 kB / 475.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/0.114, allocations: 74.72 kB / 475.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.1142, allocations: 56.61 kB / 475.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004473/0.1146, allocations: 360.1 kB / 476.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/0.1147, allocations: 41.38 kB / 476.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.297e-05/0.1148, allocations: 40.38 kB / 476.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.1158, allocations: 0.6047 MB / 476.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1158, allocations: 0 / 476.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-05/0.1159, allocations: 20 kB / 476.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.1159, allocations: 8 kB / 476.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009057/0.1168, allocations: 0.5428 MB / 477.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003348/0.1201, allocations: 2.231 MB / 479.7 MB, free: 4.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.1215, allocations: 0.881 MB / 480.6 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000619/0.1221, allocations: 394.5 kB / 481 MB, free: 2.738 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001778/0.1239, allocations: 1.345 MB / 482.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.1239, allocations: 39 kB / 482.4 MB, free: 1.262 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 1.954e-06/0.1239, allocations: 0 / 482.4 MB, free: 1.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.0108/0.1347, allocations: 2.658 MB / 485 MB, free: 14.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/0.1348, allocations: 115.2 kB / 485.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003895/0.1352, allocations: 341.5 kB / 485.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.205e-05/0.1353, allocations: 41.7 kB / 485.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.1355, allocations: 201.5 kB / 485.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.1357, allocations: 190.4 kB / 485.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002665/0.1359, allocations: 146.6 kB / 486 MB, free: 13.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.1361, allocations: 346.8 kB / 486.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006722/0.1368, allocations: 413.8 kB / 486.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007897/0.1376, allocations: 0.505 MB / 487.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.1391, allocations: 0.9453 MB / 488.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1391, allocations: 0 / 488.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.005055/0.1442, allocations: 1.786 MB / 490 MB, free: 9.457 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.1442, allocations: 8 kB / 490 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.1442, allocations: 4 kB / 490 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005057/0.1493, allocations: 1.092 MB / 491.1 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000529/0.1498, allocations: 123.8 kB / 491.2 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009886/0.1597, allocations: 5.23 MB / 496.5 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005777/0.1603, allocations: 83.39 kB / 496.6 MB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.654e-05/0.1604, allocations: 27.98 kB / 496.6 MB, free: 2.746 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.0002632/0.1607, allocations: 173.8 kB / 496.8 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.1608, allocations: 51.66 kB / 496.8 MB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004893/0.1657, allocations: 1.628 MB / 498.4 MB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.1657, allocations: 7.938 kB / 498.4 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.1657, allocations: 8 kB / 498.4 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.1657, allocations: 3.984 kB / 498.4 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007934/0.1665, allocations: 0.6737 MB / 499.1 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1665, allocations: 0 / 499.1 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.1668, allocations: 59.91 kB / 499.2 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004919/0.1717, allocations: 1.03 MB / 0.4885 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-05/0.1718, allocations: 12 kB / 0.4885 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009896/0.1817, allocations: 5.206 MB / 0.4936 GB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1817, allocations: 0 / 0.4936 GB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004786/0.1865, allocations: 1.616 MB / 0.4952 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.1867, allocations: 132.6 kB / 0.4953 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.345e-05/0.1868, allocations: 23.92 kB / 0.4953 GB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004155/0.1872, allocations: 19.12 kB / 0.4953 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.1874, allocations: 56.42 kB / 0.4954 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-05/0.1874, allocations: 20 kB / 0.4954 GB, free: 7.785 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002582/0.1877, allocations: 219.2 kB / 0.4956 GB, free: 7.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1877, allocations: 0 / 0.4956 GB, free: 7.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007767/0.1885, allocations: 239.9 kB / 0.4958 GB, free: 7.336 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.005224/0.1937, allocations: 2.196 MB / 0.498 GB, free: 5.113 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003193/0.197, allocations: 1.345 MB / 0.4993 GB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.197, allocations: 4 kB / 0.4993 GB, free: 3.758 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002192/0.1992, allocations: 0.8152 MB / 0.5001 GB, free: 2.934 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.1996, allocations: 37.44 kB / 0.5001 GB, free: 2.895 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1844/0.384, allocations: 6.68 MB / 0.5067 GB, free: 44.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.3843, allocations: 0.8347 MB / 0.5075 GB, free: 43.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002048/0.3845, allocations: 61 kB / 0.5075 GB, free: 43.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.3847, allocations: 149.7 kB / 0.5077 GB, free: 43.35 MB / 382.1 MB Notification: Performance of SimCode: time 1.153e-06/0.3847, allocations: 1.156 kB / 0.5077 GB, free: 43.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05976/0.4444, allocations: 17.54 MB / 0.5248 GB, free: 37.87 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.97, allocations: 9.062 kB / 0.5248 GB, free: 37.86 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)