Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",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.0007465/0.0007465, allocations: 96.94 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008084/0.0008084, allocations: 182.8 kB / 16.96 MB, free: 6.895 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.273/1.273, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1524/0.1524, allocations: 8.086 MB / 300.2 MB, free: 2.906 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003136/0.0003136, allocations: 8 kB / 363.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1018, allocations: 52.51 MB / 416.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.001499/0.1034, allocations: 0.9285 MB / 417 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.1054, allocations: 1.454 MB / 418.5 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.718e-05/0.1055, allocations: 4 kB / 418.5 MB, free: 5.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003454/0.1059, allocations: 99.58 kB / 418.6 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.1062, allocations: 71.66 kB / 418.7 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.1077, allocations: 0.8445 MB / 419.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.108, allocations: 151.2 kB / 419.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.1081, allocations: 45.52 kB / 419.7 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.369e-05/0.1082, allocations: 55.78 kB / 419.7 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.1084, allocations: 83.61 kB / 419.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.1084, allocations: 8 kB / 419.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003711/0.1088, allocations: 187.8 kB / 420 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.195e-05/0.1088, allocations: 27.84 kB / 420 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.605e-05/0.1089, allocations: 93.3 kB / 420.1 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004352/0.1093, allocations: 299.4 kB / 420.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1094, allocations: 0 / 420.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1094, allocations: 0 / 420.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1094, allocations: 0 / 420.4 MB, free: 3.938 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001636/0.111, allocations: 0.6122 MB / 421 MB, free: 3.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.1111, allocations: 16.03 kB / 421.1 MB, free: 3.254 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.206e-05/0.1112, allocations: 38.75 kB / 421.1 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.408e-05/0.1112, allocations: 12.84 kB / 421.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.1115, allocations: 220.6 kB / 421.3 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.1115, allocations: 12.61 kB / 421.3 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.1115, allocations: 12.38 kB / 421.3 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/0.1118, allocations: 179.4 kB / 421.5 MB, free: 2.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1119, allocations: 0 / 421.5 MB, free: 2.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.1119, allocations: 12 kB / 421.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.1119, allocations: 0 / 421.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/0.1122, allocations: 168.6 kB / 421.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.1132, allocations: 0.6991 MB / 422.4 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/0.1138, allocations: 210.5 kB / 422.6 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.1139, allocations: 89.12 kB / 422.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.454e-05/0.114, allocations: 11.98 kB / 422.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.114, allocations: 42.44 kB / 422.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.114, allocations: 0 / 422.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001735/0.1158, allocations: 0.5675 MB / 423.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.1158, allocations: 55.41 kB / 423.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.116, allocations: 168.4 kB / 423.5 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.116, allocations: 33.7 kB / 423.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.494e-05/0.1161, allocations: 120.2 kB / 423.7 MB, free: 440 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/0.1162, allocations: 51.27 kB / 423.7 MB, free: 388 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.1162, allocations: 21.7 kB / 423.8 MB, free: 360 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1163, allocations: 326.8 kB / 424.1 MB, free: 24 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1755/0.2918, allocations: 90.12 kB / 424.2 MB, free: 41.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.292, allocations: 93.39 kB / 424.3 MB, free: 41.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.2923, allocations: 213.6 kB / 424.5 MB, free: 41.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.2923, allocations: 0 / 424.5 MB, free: 41.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008603/0.2932, allocations: 383.5 kB / 424.8 MB, free: 41.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2932, allocations: 5.125 kB / 424.8 MB, free: 41.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.2933, allocations: 4.234 kB / 424.8 MB, free: 41.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006238/0.2939, allocations: 138.6 kB / 425 MB, free: 41.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.294, allocations: 26.39 kB / 425 MB, free: 41.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.2959, allocations: 1.889 MB / 426.9 MB, free: 40.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.296, allocations: 14.19 kB / 426.9 MB, free: 40.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.2961, allocations: 4.875 kB / 426.9 MB, free: 40.14 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 (18): * Single equations (assignments): 17 * 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 {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 9.701e-05/0.2962, allocations: 130.7 kB / 427 MB, free: 40.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.2962, allocations: 13.34 kB / 427.1 MB, free: 40.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007539/0.297, allocations: 368 kB / 427.4 MB, free: 39.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.297, allocations: 4.125 kB / 427.4 MB, free: 39.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.297, allocations: 1.359 kB / 427.4 MB, free: 39.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.297, allocations: 0.7969 kB / 427.4 MB, free: 39.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.2972, allocations: 297.9 kB / 427.7 MB, free: 39.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2973, allocations: 3.656 kB / 427.7 MB, free: 39.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.955e-05/0.2973, allocations: 22.86 kB / 427.7 MB, free: 39.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005277/0.2979, allocations: 132.9 kB / 427.9 MB, free: 39.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.2979, allocations: 12.81 kB / 427.9 MB, free: 39.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00148/0.2994, allocations: 1.861 MB / 429.7 MB, free: 38.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2994, allocations: 4.438 kB / 429.7 MB, free: 38.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00067/0.3001, allocations: 432.4 kB / 430.2 MB, free: 38.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.286e-05/0.3001, allocations: 100.5 kB / 430.3 MB, free: 38.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.3001, allocations: 2.766 kB / 430.3 MB, free: 38.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.3003, allocations: 12.72 kB / 430.3 MB, free: 38.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.3003, allocations: 16.31 kB / 430.3 MB, free: 38.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.3004, allocations: 3.094 kB / 430.3 MB, free: 38.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.719e-05/0.3004, allocations: 128.8 kB / 430.4 MB, free: 38.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3005, allocations: 0 / 430.4 MB, free: 38.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003195/0.3008, allocations: 66.22 kB / 430.5 MB, free: 38.16 MB / 350.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 (13): * Single equations (assignments): 12 * 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 {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008524/0.3016, allocations: 0.9785 MB / 431.5 MB, free: 37.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005899/0.3022, allocations: 380.9 kB / 431.8 MB, free: 37.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3023, allocations: 0 / 431.8 MB, free: 37.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003645/0.3026, allocations: 253.8 kB / 432.1 MB, free: 37.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.3029, allocations: 21.14 kB / 432.1 MB, free: 37.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.3056, allocations: 2.443 MB / 434.5 MB, free: 35.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.3057, allocations: 0.7225 MB / 435.3 MB, free: 35.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.856e-05/0.3058, allocations: 24.78 kB / 435.3 MB, free: 35.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.108e-05/0.3059, allocations: 43 kB / 435.3 MB, free: 35.19 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3059, allocations: 0 / 435.3 MB, free: 35.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.3218, allocations: 5.391 MB / 440.7 MB, free: 34.79 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/0.322, allocations: 220.2 kB / 440.9 MB, free: 34.53 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/1.988, allocations: 3.938 kB / 440.9 MB, free: 34.53 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1)