Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.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.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",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.001601/0.001607, allocations: 103.1 kB / 16.45 MB, free: 6.441 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.001579/0.001579, allocations: 189.4 kB / 17.39 MB, free: 5.688 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.422/1.422, 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.05665/0.05665, allocations: 8.099 MB / 299.3 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 59.89 kB / 414 MB, free: 22.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08276/0.08457, allocations: 51.51 MB / 465.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.002499/0.08711, allocations: 1.395 MB / 466.9 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.08915, allocations: 1.512 MB / 468.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.9e-05/0.08923, allocations: 4 kB / 468.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.08957, allocations: 115.4 kB / 468.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.08983, allocations: 95.38 kB / 468.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.0915, allocations: 0.8945 MB / 469.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.09181, allocations: 199 kB / 469.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.09197, allocations: 65.64 kB / 469.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.011e-05/0.09207, allocations: 75.7 kB / 469.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.09225, allocations: 107.5 kB / 469.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.09229, allocations: 16 kB / 470 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003569/0.09265, allocations: 199.8 kB / 470.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.497e-05/0.09271, allocations: 51.77 kB / 470.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.502e-05/0.09281, allocations: 83.55 kB / 470.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004735/0.09329, allocations: 355.1 kB / 470.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.0933, allocations: 0 / 470.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.09331, allocations: 0 / 470.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.09332, allocations: 0 / 470.6 MB, free: 13.5 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001889/0.09522, allocations: 0.6895 MB / 471.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.09527, allocations: 11.89 kB / 471.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.005e-05/0.09533, allocations: 50.73 kB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.531e-05/0.09539, allocations: 20.84 kB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.0957, allocations: 240.9 kB / 471.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.09573, allocations: 16.66 kB / 471.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.437e-05/0.09577, allocations: 16.38 kB / 471.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.09614, allocations: 220.3 kB / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.09617, allocations: 3.938 kB / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.09619, allocations: 4 kB / 471.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.09621, allocations: 4 kB / 471.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003237/0.09653, allocations: 196.8 kB / 472.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.09779, allocations: 0.8502 MB / 472.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007349/0.09854, allocations: 371.6 kB / 473.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.09876, allocations: 136.8 kB / 473.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/0.09881, allocations: 7.984 kB / 473.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.09884, allocations: 34.56 kB / 473.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.413e-06/0.09885, allocations: 0 / 473.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.002214/0.1011, allocations: 0.7218 MB / 474.2 MB, free: 9.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.1011, allocations: 55.41 kB / 474.3 MB, free: 9.605 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.1013, allocations: 186.2 kB / 474.4 MB, free: 9.414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.1014, allocations: 33.7 kB / 474.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.264e-05/0.1015, allocations: 128.5 kB / 474.6 MB, free: 9.246 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.753e-05/0.1016, allocations: 75.33 kB / 474.7 MB, free: 9.172 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.1017, allocations: 57.66 kB / 474.7 MB, free: 9.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1018, allocations: 334.8 kB / 475.1 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.102, allocations: 116 kB / 475.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.1022, allocations: 127.9 kB / 475.3 MB, free: 8.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/0.1027, allocations: 272.8 kB / 475.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1027, allocations: 0 / 475.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001073/0.1038, allocations: 490.5 kB / 476 MB, free: 7.777 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1038, allocations: 7.938 kB / 476 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1038, allocations: 3.938 kB / 476.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000794/0.1046, allocations: 188.6 kB / 476.2 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.1048, allocations: 35.97 kB / 476.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003478/0.1082, allocations: 2.355 MB / 478.6 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.1084, allocations: 19.84 kB / 478.6 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.1085, allocations: 15.94 kB / 478.7 MB, free: 5.008 MB / 350.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 (23): * Single equations (assignments): 22 * 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 {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001391/0.1086, allocations: 134.1 kB / 478.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.1087, allocations: 15.91 kB / 478.8 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.1098, allocations: 471.8 kB / 479.3 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1098, allocations: 7.938 kB / 479.3 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-06/0.1098, allocations: 0 / 479.3 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.1098, allocations: 7.984 kB / 479.3 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.1113, allocations: 0.8467 MB / 480.1 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1113, allocations: 4 kB / 480.1 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.263e-05/0.1114, allocations: 27.86 kB / 480.2 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000716/0.1121, allocations: 176.7 kB / 480.3 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.1122, allocations: 7.984 kB / 480.3 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003076/0.1152, allocations: 2.317 MB / 482.7 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1153, allocations: 0 / 482.7 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.1163, allocations: 0.5283 MB / 483.2 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.627e-05/0.1164, allocations: 93 kB / 483.3 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.1165, allocations: 12.22 kB / 483.3 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.1167, allocations: 15.98 kB / 483.3 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.1167, allocations: 19.98 kB / 483.3 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/0.1168, allocations: 11.92 kB / 483.3 MB, free: 72 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001746/0.1169, allocations: 140.8 kB / 483.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1169, allocations: 0 / 483.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004228/0.1174, allocations: 76 kB / 483.5 MB, free: 15.86 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 (16): * Single equations (assignments): 15 * 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 {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001516/0.1189, allocations: 1.072 MB / 484.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.12, allocations: 498.4 kB / 485.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.12, allocations: 0 / 485.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006596/0.1207, allocations: 346.4 kB / 485.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.121, allocations: 23.94 kB / 485.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004242/0.1253, allocations: 2.726 MB / 488.2 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.1257, allocations: 0.7328 MB / 488.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.899e-05/0.1258, allocations: 17.53 kB / 488.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.789e-05/0.1259, allocations: 59.41 kB / 489 MB, free: 10.23 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1259, allocations: 0 / 489 MB, free: 10.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03452/0.1604, allocations: 7.002 MB / 496 MB, free: 3.359 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/11.87, allocations: 8.609 kB / 496 MB, free: 3.352 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1)