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.001389/0.001389, allocations: 102.9 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.001559/0.001559, allocations: 190 kB / 17.39 MB, free: 5.656 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.417/1.417, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05088/0.05088, allocations: 8.107 MB / 299.3 MB, free: 6.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 67.91 kB / 414 MB, free: 22.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09491/0.09606, allocations: 51.51 MB / 465.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.002926/0.09903, allocations: 1.399 MB / 466.9 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.1013, allocations: 1.513 MB / 468.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.1015, allocations: 4 kB / 468.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004668/0.1021, allocations: 115.4 kB / 468.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003851/0.1025, allocations: 99.38 kB / 468.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.1044, allocations: 0.8982 MB / 469.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003802/0.1048, allocations: 187 kB / 469.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.1049, allocations: 69.62 kB / 469.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.1051, allocations: 83.7 kB / 469.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.1053, allocations: 103.5 kB / 469.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.784e-05/0.1053, allocations: 16 kB / 470 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004039/0.1057, allocations: 199.8 kB / 470.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.1058, allocations: 35.8 kB / 470.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.1059, allocations: 91.58 kB / 470.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005565/0.1064, allocations: 349.7 kB / 470.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1065, allocations: 0 / 470.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.1065, allocations: 4 kB / 470.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.1065, allocations: 4 kB / 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.002014/0.1085, allocations: 0.6785 MB / 471.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.1086, allocations: 11.89 kB / 471.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.838e-05/0.1086, allocations: 50.73 kB / 471.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.949e-05/0.1087, allocations: 16.75 kB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.109, allocations: 240.8 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.109, allocations: 16.59 kB / 471.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.1091, allocations: 16.38 kB / 471.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.1094, allocations: 208.3 kB / 471.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1095, allocations: 3.938 kB / 471.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.1095, allocations: 16 kB / 471.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.1095, allocations: 0 / 471.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/0.1098, allocations: 208.7 kB / 472.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.111, allocations: 0.8383 MB / 472.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006935/0.1117, allocations: 377.9 kB / 473.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.112, allocations: 144.8 kB / 473.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.184e-05/0.112, allocations: 8 kB / 473.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.112, allocations: 30.56 kB / 473.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.423e-06/0.1121, allocations: 0 / 473.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.002046/0.1141, allocations: 0.7311 MB / 474.2 MB, free: 9.676 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.1142, allocations: 51.41 kB / 474.2 MB, free: 9.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.1143, allocations: 178.4 kB / 474.4 MB, free: 9.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.1144, allocations: 33.7 kB / 474.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.056e-05/0.1145, allocations: 120.3 kB / 474.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.402e-05/0.1145, allocations: 82.84 kB / 474.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.004e-05/0.1146, allocations: 57.69 kB / 474.7 MB, free: 9.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1147, allocations: 330.8 kB / 475 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.1149, allocations: 124 kB / 475.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.1151, allocations: 123.9 kB / 475.3 MB, free: 8.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.1155, allocations: 272.8 kB / 475.5 MB, free: 8.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1155, allocations: 0 / 475.5 MB, free: 8.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009399/0.1164, allocations: 486.5 kB / 476 MB, free: 7.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.1165, allocations: 11.94 kB / 476 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.1165, allocations: 4 kB / 476 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007761/0.1173, allocations: 176.7 kB / 476.2 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.1174, allocations: 43.86 kB / 476.2 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002967/0.1204, allocations: 2.344 MB / 478.6 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.1206, allocations: 23.69 kB / 478.6 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.1206, allocations: 15.94 kB / 478.6 MB, free: 5.031 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.0001266/0.1207, allocations: 125.8 kB / 478.8 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.309e-05/0.1208, allocations: 19.8 kB / 478.8 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009801/0.1218, allocations: 475.8 kB / 479.2 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1218, allocations: 4 kB / 479.2 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.1218, allocations: 0 / 479.2 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1218, allocations: 0 / 479.2 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.1232, allocations: 0.8505 MB / 480.1 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1232, allocations: 0 / 480.1 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.739e-05/0.1233, allocations: 31.92 kB / 480.1 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006729/0.1239, allocations: 184.8 kB / 480.3 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.124, allocations: 4 kB / 480.3 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002804/0.1268, allocations: 2.324 MB / 482.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1268, allocations: 0 / 482.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009037/0.1277, allocations: 0.5244 MB / 483.2 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.112e-05/0.1278, allocations: 96.95 kB / 483.2 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.1278, allocations: 4 kB / 483.3 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.128, allocations: 19.34 kB / 483.3 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/0.1281, allocations: 23.97 kB / 483.3 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.1281, allocations: 4 kB / 483.3 MB, free: 104 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001371/0.1282, allocations: 136.7 kB / 483.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1282, allocations: 0 / 483.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003946/0.1286, allocations: 80 kB / 483.5 MB, free: 15.89 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.001305/0.1299, allocations: 1.076 MB / 484.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.131, allocations: 486.4 kB / 485.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.131, allocations: 288 / 485.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006064/0.1316, allocations: 342.5 kB / 485.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.1319, allocations: 35.86 kB / 485.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003849/0.1358, allocations: 2.737 MB / 488.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.1361, allocations: 0.7289 MB / 488.9 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.215e-05/0.1362, allocations: 29.52 kB / 488.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.707e-05/0.1363, allocations: 55.42 kB / 489 MB, free: 10.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1363, allocations: 0 / 489 MB, free: 10.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02739/0.1637, allocations: 7.195 MB / 496.2 MB, free: 3.188 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/10.63, allocations: 8.547 kB / 496.2 MB, free: 3.18 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)