Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",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.006691/0.006691, allocations: 89.48 kB / 15.91 MB, free: 6.305 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.001603/0.001603, allocations: 195.7 kB / 16.83 MB, free: 6.238 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.295/1.295, allocations: 222.9 MB / 240.5 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1287/0.1287, allocations: 8.09 MB / 298.7 MB, free: 2.027 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 59.91 kB / 361.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07971/0.08085, allocations: 51.52 MB / 412.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad): time 0.00324/0.08412, allocations: 2.33 MB / 415 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.08627, allocations: 1.672 MB / 416.7 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002212/0.08651, allocations: 8 kB / 416.7 MB, free: 6.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004299/0.08697, allocations: 131.4 kB / 416.8 MB, free: 5.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005221/0.0875, allocations: 187 kB / 417 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.08944, allocations: 1.191 MB / 418.2 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004943/0.08994, allocations: 394 kB / 418.6 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.09013, allocations: 104.1 kB / 418.7 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001981/0.09034, allocations: 163.4 kB / 418.8 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.09061, allocations: 207.1 kB / 419 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.662e-05/0.09067, allocations: 24 kB / 419 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004455/0.09113, allocations: 247.8 kB / 419.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.438e-05/0.0912, allocations: 75.67 kB / 419.4 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.09137, allocations: 187 kB / 419.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005964/0.09198, allocations: 0.5608 MB / 420.1 MB, free: 2.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.09199, allocations: 11.94 kB / 420.1 MB, free: 2.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.02e-07/0.092, allocations: 4 kB / 420.1 MB, free: 2.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.09201, allocations: 0 / 420.1 MB, free: 2.59 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.004617/0.09663, allocations: 1.357 MB / 421.5 MB, free: 1.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.09668, allocations: 8.031 kB / 421.5 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.106e-05/0.09675, allocations: 62.67 kB / 421.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.3e-05/0.09685, allocations: 48.47 kB / 421.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.0972, allocations: 327.5 kB / 421.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.09723, allocations: 32.94 kB / 421.9 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.135e-05/0.09729, allocations: 32.38 kB / 422 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006613/0.09796, allocations: 469 kB / 422.4 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.09798, allocations: 3.938 kB / 422.4 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.119e-05/0.09802, allocations: 16 kB / 422.4 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.09803, allocations: 8 kB / 422.5 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005918/0.09863, allocations: 418.1 kB / 422.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002327/0.101, allocations: 2.025 MB / 424.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008118/0.1018, allocations: 0.5063 MB / 425.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003581/0.1022, allocations: 280.8 kB / 425.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.447e-05/0.1022, allocations: 23.97 kB / 425.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.1023, allocations: 42.55 kB / 425.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.603e-06/0.1023, allocations: 0 / 425.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.006391/0.1087, allocations: 1.869 MB / 427.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.1087, allocations: 106.8 kB / 427.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/0.109, allocations: 274.9 kB / 428 MB, free: 10.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.664e-05/0.1091, allocations: 37.7 kB / 428 MB, free: 10.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.801e-05/0.1092, allocations: 168.8 kB / 428.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.811e-05/0.1093, allocations: 141.9 kB / 428.3 MB, free: 9.953 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.1094, allocations: 102.2 kB / 428.4 MB, free: 9.848 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1096, allocations: 350.7 kB / 428.8 MB, free: 9.496 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/0.11, allocations: 293 kB / 429 MB, free: 9.207 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004519/0.1104, allocations: 352.6 kB / 429.4 MB, free: 8.855 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008722/0.1113, allocations: 0.6451 MB / 430 MB, free: 8.207 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1113, allocations: 4 kB / 430 MB, free: 8.203 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003249/0.1146, allocations: 1.264 MB / 431.3 MB, free: 6.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1146, allocations: 14.06 kB / 431.3 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1146, allocations: 3.984 kB / 431.3 MB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003485/0.1181, allocations: 0.7835 MB / 432.1 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.1184, allocations: 87.89 kB / 432.2 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006464/0.1249, allocations: 3.823 MB / 436 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003901/0.1253, allocations: 55.52 kB / 436.1 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.587e-05/0.1254, allocations: 19.98 kB / 436.1 MB, free: 2.012 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.0001819/0.1256, allocations: 157.7 kB / 436.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.889e-05/0.1257, allocations: 35.53 kB / 436.3 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003299/0.129, allocations: 1.23 MB / 437.5 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.129, allocations: 8 kB / 437.5 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.129, allocations: 0 / 437.5 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.129, allocations: 3.984 kB / 437.5 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1412/0.2702, allocations: 0.5583 MB / 438.1 MB, free: 57.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/0.2702, allocations: 2.469 kB / 438.1 MB, free: 57.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.2705, allocations: 65.34 kB / 438.1 MB, free: 57.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003359/0.2739, allocations: 0.7482 MB / 438.9 MB, free: 57.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.199e-05/0.2739, allocations: 9.5 kB / 438.9 MB, free: 57.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005648/0.2796, allocations: 3.778 MB / 442.7 MB, free: 55.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2796, allocations: 0 / 442.7 MB, free: 55.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003005/0.2826, allocations: 1.245 MB / 443.9 MB, free: 55.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.798e-05/0.2827, allocations: 114.4 kB / 444 MB, free: 55.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.114e-05/0.2828, allocations: 11.19 kB / 444 MB, free: 55.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003356/0.2831, allocations: 24.72 kB / 444.1 MB, free: 55.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.2832, allocations: 45.06 kB / 444.1 MB, free: 55.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.632e-05/0.2833, allocations: 13.56 kB / 444.1 MB, free: 55.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001434/0.2834, allocations: 191.8 kB / 444.3 MB, free: 55.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2834, allocations: 0 / 444.3 MB, free: 55.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005444/0.284, allocations: 178.2 kB / 444.5 MB, free: 55.3 MB / 366.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 (36): * Single equations (assignments): 35 * 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.003058/0.287, allocations: 1.801 MB / 446.3 MB, free: 54.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002104/0.2892, allocations: 1.034 MB / 447.3 MB, free: 53.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2892, allocations: 2.906 kB / 447.3 MB, free: 53.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001464/0.2906, allocations: 0.6748 MB / 448 MB, free: 53.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.291, allocations: 45.77 kB / 448 MB, free: 53.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008286/0.2993, allocations: 5.308 MB / 453.4 MB, free: 50.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001774/0.2995, allocations: 0.7983 MB / 454.2 MB, free: 49.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001799/0.2997, allocations: 56.31 kB / 454.2 MB, free: 49.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.2999, allocations: 122.6 kB / 454.3 MB, free: 49.78 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2999, allocations: 0 / 454.3 MB, free: 49.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3956/0.6955, allocations: 14.3 MB / 468.6 MB, free: 48.71 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/0.6957, allocations: 251 kB / 468.9 MB, free: 48.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/2.547, allocations: 3.031 kB / 468.9 MB, free: 48.46 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe 2>&1)