Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",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.001339/0.001339, allocations: 108.4 kB / 16.45 MB, free: 6.43 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.0015/0.0015, allocations: 190 kB / 17.39 MB, free: 5.668 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.282/1.282, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04727/0.04727, allocations: 8.11 MB / 299.3 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 67.89 kB / 414 MB, free: 22.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08958/0.09071, allocations: 51.51 MB / 465.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2): time 0.003528/0.09427, allocations: 2.692 MB / 468.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.09638, allocations: 1.629 MB / 469.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.09652, allocations: 4 kB / 469.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003857/0.09691, allocations: 167 kB / 470 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004491/0.09739, allocations: 226.5 kB / 470.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001941/0.09934, allocations: 1.237 MB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005128/0.09986, allocations: 469.7 kB / 471.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002567/0.1001, allocations: 168.7 kB / 472.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.1003, allocations: 191.3 kB / 472.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002943/0.1006, allocations: 227 kB / 472.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.931e-05/0.1007, allocations: 36 kB / 472.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004187/0.1011, allocations: 275.8 kB / 472.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.867e-05/0.1012, allocations: 91.62 kB / 472.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.1014, allocations: 226.8 kB / 473.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006568/0.102, allocations: 0.6356 MB / 473.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.102, allocations: 0 / 473.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1021, allocations: 4 kB / 473.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.1021, allocations: 0 / 473.7 MB, free: 10.38 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004834/0.1069, allocations: 1.4 MB / 475.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.107, allocations: 11.89 kB / 475.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.375e-05/0.1071, allocations: 74.72 kB / 475.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.131e-05/0.1072, allocations: 48.38 kB / 475.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.1075, allocations: 335.5 kB / 475.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.1076, allocations: 29.03 kB / 475.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.741e-05/0.1076, allocations: 40.38 kB / 475.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007732/0.1084, allocations: 0.5101 MB / 476.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1085, allocations: 7.938 kB / 476.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.331e-05/0.1085, allocations: 16 kB / 476.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.1085, allocations: 8 kB / 476.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006393/0.1092, allocations: 446.5 kB / 476.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002534/0.1117, allocations: 2.11 MB / 478.7 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000877/0.1126, allocations: 0.5707 MB / 479.3 MB, free: 4.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003646/0.113, allocations: 268.8 kB / 479.6 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-05/0.113, allocations: 23.97 kB / 479.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.1131, allocations: 42.5 kB / 479.6 MB, free: 4.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.533e-06/0.1131, allocations: 0 / 479.6 MB, free: 4.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.006241/0.1193, allocations: 1.818 MB / 481.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.1194, allocations: 110.8 kB / 481.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.1197, allocations: 278.9 kB / 481.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/0.1197, allocations: 37.7 kB / 481.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.1199, allocations: 184.5 kB / 482.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.12, allocations: 145.8 kB / 482.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.1201, allocations: 110.2 kB / 482.3 MB, free: 1.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1203, allocations: 338.8 kB / 482.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004004/0.1207, allocations: 293 kB / 482.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004284/0.1211, allocations: 344.6 kB / 483.3 MB, free: 380 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008739/0.122, allocations: 0.6257 MB / 483.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.122, allocations: 0 / 483.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003248/0.1253, allocations: 1.244 MB / 485.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1253, allocations: 8 kB / 485.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1253, allocations: 0 / 485.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003397/0.1287, allocations: 0.7773 MB / 485.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/0.1291, allocations: 87.89 kB / 486 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006917/0.136, allocations: 4.046 MB / 490 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003835/0.1364, allocations: 55.42 kB / 490.1 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/0.1364, allocations: 16 kB / 490.1 MB, free: 9.363 MB / 366.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 (51): * Single equations (assignments): 50 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002113/0.1367, allocations: 173.7 kB / 490.3 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.298e-05/0.1367, allocations: 31.62 kB / 490.3 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003276/0.14, allocations: 1.199 MB / 491.5 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.14, allocations: 8 kB / 491.5 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.1401, allocations: 4 kB / 491.5 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.1401, allocations: 3.984 kB / 491.5 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00381/0.1439, allocations: 1.791 MB / 493.3 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.1439, allocations: 3.938 kB / 493.3 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.1441, allocations: 63.91 kB / 493.4 MB, free: 6.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003302/0.1474, allocations: 0.7416 MB / 494.1 MB, free: 5.262 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/0.1475, allocations: 12 kB / 494.1 MB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006722/0.1542, allocations: 4.016 MB / 498.2 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.1542, allocations: 7.938 kB / 498.2 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003134/0.1574, allocations: 1.219 MB / 499.4 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.1575, allocations: 112.5 kB / 499.5 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.799e-05/0.1576, allocations: 12 kB / 499.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003638/0.1579, allocations: 27.09 kB / 499.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.158, allocations: 40.39 kB / 499.6 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.916e-05/0.1581, allocations: 16 kB / 499.6 MB, free: 15.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001911/0.1583, allocations: 190 kB / 499.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1583, allocations: 0 / 499.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006184/0.1589, allocations: 187.8 kB / 500 MB, free: 15.26 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 (35): * Single equations (assignments): 34 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003432/0.1624, allocations: 1.778 MB / 0.49 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002369/0.1647, allocations: 1.02 MB / 0.491 GB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1648, allocations: 4 kB / 0.491 GB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001669/0.1664, allocations: 0.6686 MB / 0.4916 GB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.1668, allocations: 40.88 kB / 0.4917 GB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009521/0.1764, allocations: 5.13 MB / 0.4967 GB, free: 6.473 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.1768, allocations: 0.8091 MB / 0.4975 GB, free: 5.641 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001749/0.1769, allocations: 58.92 kB / 0.4975 GB, free: 5.582 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.1771, allocations: 131.4 kB / 0.4976 GB, free: 5.453 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1771, allocations: 0 / 0.4976 GB, free: 5.453 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2214/0.3986, allocations: 15.54 MB / 0.5128 GB, free: 45.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.23, allocations: 12.88 kB / 0.5128 GB, free: 45.06 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe 2>&1)