Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",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.001233/0.001233, allocations: 104.8 kB / 16.45 MB, free: 6.395 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.001291/0.001291, allocations: 189.4 kB / 17.38 MB, free: 5.664 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.411/1.411, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05286/0.05286, allocations: 8.106 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 63.91 kB / 414 MB, free: 22.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09955/0.1014, allocations: 51.5 MB / 465.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1): time 0.003987/0.1054, allocations: 2.704 MB / 468.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00246/0.1079, allocations: 1.621 MB / 469.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.1081, allocations: 8 kB / 469.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004762/0.1086, allocations: 163 kB / 470 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005328/0.1091, allocations: 222.5 kB / 470.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002279/0.1114, allocations: 1.237 MB / 471.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006107/0.112, allocations: 465.8 kB / 471.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003072/0.1124, allocations: 173.8 kB / 472.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.1126, allocations: 191.3 kB / 472.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003024/0.1129, allocations: 227 kB / 472.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.234e-05/0.1129, allocations: 36 kB / 472.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004948/0.1134, allocations: 279.7 kB / 472.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.483e-05/0.1135, allocations: 91.62 kB / 472.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.1138, allocations: 226.8 kB / 473.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007987/0.1146, allocations: 0.6344 MB / 473.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1146, allocations: 4 kB / 473.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1146, allocations: 0 / 473.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.1146, allocations: 4 kB / 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.005141/0.1198, allocations: 1.415 MB / 475.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.1198, allocations: 11.89 kB / 475.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.465e-05/0.1199, allocations: 70.72 kB / 475.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.12, allocations: 48.66 kB / 475.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004753/0.1205, allocations: 343.6 kB / 475.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.1205, allocations: 29.03 kB / 475.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.54e-05/0.1206, allocations: 40.38 kB / 475.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008342/0.1215, allocations: 0.5101 MB / 476.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.1215, allocations: 3.938 kB / 476.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.113e-05/0.1215, allocations: 16 kB / 476.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.1216, allocations: 8 kB / 476.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007062/0.1223, allocations: 450.5 kB / 476.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002871/0.1251, allocations: 2.099 MB / 478.8 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.1262, allocations: 0.5824 MB / 479.3 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004029/0.1266, allocations: 272.8 kB / 479.6 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.638e-05/0.1267, allocations: 15.97 kB / 479.6 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.1267, allocations: 38.5 kB / 479.7 MB, free: 4.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.304e-06/0.1267, allocations: 4 kB / 479.7 MB, free: 4.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.007497/0.1342, allocations: 1.939 MB / 481.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.237e-05/0.1343, allocations: 114.8 kB / 481.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.1346, allocations: 270.9 kB / 482 MB, free: 1.691 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.825e-05/0.1347, allocations: 41.7 kB / 482 MB, free: 1.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.1349, allocations: 184.9 kB / 482.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.135, allocations: 150.7 kB / 482.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/0.1352, allocations: 110.2 kB / 482.5 MB, free: 1.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.1354, allocations: 342.8 kB / 482.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004532/0.1359, allocations: 285 kB / 483.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005195/0.1364, allocations: 336.6 kB / 483.4 MB, free: 240 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.1374, allocations: 0.6257 MB / 484 MB, free: 15.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.1374, allocations: 0 / 484 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003487/0.1409, allocations: 1.252 MB / 485.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1409, allocations: 7.938 kB / 485.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.141, allocations: 0 / 485.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003621/0.1446, allocations: 0.777 MB / 486.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/0.145, allocations: 83.89 kB / 486.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007664/0.1526, allocations: 4.006 MB / 490.1 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005111/0.1532, allocations: 55.61 kB / 490.2 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.1532, allocations: 20 kB / 490.2 MB, free: 9.262 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.0002632/0.1535, allocations: 169.7 kB / 490.4 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.736e-05/0.1536, allocations: 35.77 kB / 490.4 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003521/0.1571, allocations: 1.175 MB / 491.6 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.1572, allocations: 12 kB / 491.6 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.1572, allocations: 0 / 491.6 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.1572, allocations: 3.984 kB / 491.6 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004091/0.1613, allocations: 1.756 MB / 493.4 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.1613, allocations: 3.938 kB / 493.4 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.1615, allocations: 63.91 kB / 493.4 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003485/0.165, allocations: 0.7455 MB / 494.2 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-05/0.1651, allocations: 8 kB / 494.2 MB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007098/0.1722, allocations: 3.977 MB / 498.2 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.1722, allocations: 0 / 498.2 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00337/0.1756, allocations: 1.192 MB / 499.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.1757, allocations: 124.7 kB / 499.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.166e-05/0.1758, allocations: 8 kB / 499.5 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003624/0.1762, allocations: 27.98 kB / 499.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.1763, allocations: 36.38 kB / 499.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/0.1764, allocations: 16 kB / 499.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002134/0.1766, allocations: 190 kB / 499.8 MB, free: 15.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1766, allocations: 0 / 499.8 MB, free: 15.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000622/0.1772, allocations: 195.8 kB / 499.9 MB, free: 15.28 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.003728/0.181, allocations: 1.748 MB / 0.4899 GB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002486/0.1835, allocations: 1.023 MB / 0.4909 GB, free: 12.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.1835, allocations: 0 / 0.4909 GB, free: 12.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001805/0.1853, allocations: 0.6686 MB / 0.4916 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.1857, allocations: 36.89 kB / 0.4916 GB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/0.1964, allocations: 5.145 MB / 0.4966 GB, free: 6.512 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/0.197, allocations: 0.8091 MB / 0.4974 GB, free: 5.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002161/0.1972, allocations: 54.92 kB / 0.4975 GB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/0.1974, allocations: 139.4 kB / 0.4976 GB, free: 5.488 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1974, allocations: 0 / 0.4976 GB, free: 5.488 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2391/0.4365, allocations: 14.96 MB / 0.5122 GB, free: 45.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.28, allocations: 3.391 kB / 0.5122 GB, free: 45.15 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe 2>&1)