Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 225.6 MB / 249.1 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.184/0.184, allocations: 38.5 MB / 342.5 MB, free: 8.004 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 66.77 kB / 478.6 MB, free: 33.79 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09264/0.09462, allocations: 61.24 MB / 0.5272 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.006079/0.1007, allocations: 4.468 MB / 0.5316 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002613/0.1033, allocations: 1.433 MB / 0.533 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00024/0.1036, allocations: 11.94 kB / 0.533 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.1046, allocations: 378.4 kB / 0.5333 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006556/0.1053, allocations: 258.8 kB / 0.5336 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006753/0.106, allocations: 251.4 kB / 0.5338 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007158/0.1067, allocations: 0.5495 MB / 0.5343 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000384/0.1071, allocations: 221.1 kB / 0.5346 GB, free: 9.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003979/0.1075, allocations: 271 kB / 0.5348 GB, free: 9.496 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005301/0.108, allocations: 374.9 kB / 0.5352 GB, free: 9.129 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.446e-05/0.1081, allocations: 40 kB / 0.5352 GB, free: 9.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004331/0.1085, allocations: 243.5 kB / 0.5354 GB, free: 8.852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002414/0.1087, allocations: 235.4 kB / 0.5357 GB, free: 8.621 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002846/0.109, allocations: 258.7 kB / 0.5359 GB, free: 8.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008344/0.1099, allocations: 0.6655 MB / 0.5366 GB, free: 7.699 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1099, allocations: 4 kB / 0.5366 GB, free: 7.695 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1099, allocations: 4 kB / 0.5366 GB, free: 7.691 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.044e-05/0.1099, allocations: 0 / 0.5366 GB, free: 7.691 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001463/0.1114, allocations: 0.7809 MB / 0.5373 GB, free: 6.859 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1114, allocations: 11.89 kB / 0.5373 GB, free: 6.848 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.1115, allocations: 94.62 kB / 0.5374 GB, free: 6.746 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006155/0.1121, allocations: 100.5 kB / 0.5375 GB, free: 6.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008281/0.1129, allocations: 427.4 kB / 0.5379 GB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/0.113, allocations: 33.38 kB / 0.538 GB, free: 6.152 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.1131, allocations: 47.92 kB / 0.538 GB, free: 6.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.1142, allocations: 0.6804 MB / 0.5387 GB, free: 5.391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.1142, allocations: 4 kB / 0.5387 GB, free: 5.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.43e-05/0.1142, allocations: 12 kB / 0.5387 GB, free: 5.375 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001788/0.1144, allocations: 52.95 kB / 0.5387 GB, free: 5.324 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.1154, allocations: 0.6752 MB / 0.5394 GB, free: 4.645 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003725/0.1192, allocations: 2.426 MB / 0.5418 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005885/0.1198, allocations: 329.7 kB / 0.5421 GB, free: 1.762 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/0.1201, allocations: 222 kB / 0.5423 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.738e-05/0.1201, allocations: 8.281 kB / 0.5423 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.1202, allocations: 50.7 kB / 0.5424 GB, free: 1.473 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.034e-06/0.1202, allocations: 0 / 0.5424 GB, free: 1.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.00243/0.1226, allocations: 1.476 MB / 0.5438 GB, free: 15.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.1227, allocations: 81.11 kB / 0.5439 GB, free: 15.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.123, allocations: 287.1 kB / 0.5441 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.123, allocations: 29.7 kB / 0.5442 GB, free: 15.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.1232, allocations: 260.2 kB / 0.5444 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.1233, allocations: 166.6 kB / 0.5446 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.1235, allocations: 94.2 kB / 0.5447 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1236, allocations: 342.8 kB / 0.545 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003393/0.124, allocations: 224.9 kB / 0.5452 GB, free: 14.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004424/0.1244, allocations: 361.8 kB / 0.5456 GB, free: 14.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008444/0.1253, allocations: 0.6278 MB / 0.5462 GB, free: 13.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.1253, allocations: 4 kB / 0.5462 GB, free: 13.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001377/0.1266, allocations: 0.7278 MB / 0.5469 GB, free: 12.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1267, allocations: 4 kB / 0.5469 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009308/0.1276, allocations: 0.5186 MB / 0.5474 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003184/0.1279, allocations: 68.8 kB / 0.5475 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004191/0.1283, allocations: 107.9 kB / 0.5476 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/0.1301, allocations: 1.738 MB / 0.5493 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.1304, allocations: 27.91 kB / 0.5493 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.289e-05/0.1305, allocations: 27.98 kB / 0.5493 GB, free: 9.969 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 2 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002676/0.1308, allocations: 209.7 kB / 0.5495 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.1309, allocations: 43.64 kB / 0.5496 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009392/0.1318, allocations: 0.5667 MB / 0.5501 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.82e-05/0.1318, allocations: 11.98 kB / 0.5501 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.1318, allocations: 8.062 kB / 0.5501 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.1318, allocations: 3.984 kB / 0.5501 GB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.1339, allocations: 1.185 MB / 0.5513 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1339, allocations: 0 / 0.5513 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000437/0.1344, allocations: 87.88 kB / 0.5514 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1344, allocations: 96 / 0.5514 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.534e-05/0.1344, allocations: 15.98 kB / 0.5514 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.1344, allocations: 4 kB / 0.5514 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1344, allocations: 0 / 0.5514 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.1357, allocations: 0.9319 MB / 0.5523 GB, free: 6.801 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.1359, allocations: 116.8 kB / 0.5524 GB, free: 6.668 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.55e-05/0.1359, allocations: 8 kB / 0.5524 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.1361, allocations: 19.97 kB / 0.5524 GB, free: 6.641 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.1362, allocations: 31.77 kB / 0.5525 GB, free: 6.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/0.1362, allocations: 12 kB / 0.5525 GB, free: 6.598 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000211/0.1364, allocations: 197.9 kB / 0.5527 GB, free: 6.406 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1364, allocations: 0 / 0.5527 GB, free: 6.406 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005368/0.137, allocations: 116 kB / 0.5528 GB, free: 6.293 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001783/0.1388, allocations: 1.518 MB / 0.5543 GB, free: 4.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.1399, allocations: 0.6288 MB / 0.5549 GB, free: 4.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1399, allocations: 1.125 kB / 0.5549 GB, free: 4.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003621/0.1403, allocations: 235.7 kB / 0.5551 GB, free: 3.859 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/0.1408, allocations: 84.84 kB / 0.5552 GB, free: 3.781 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006444/0.1472, allocations: 4.585 MB / 0.5597 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005284/0.1478, allocations: 0.8704 MB / 0.5605 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003533/0.1481, allocations: 127.1 kB / 0.5606 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/0.1483, allocations: 147.4 kB / 0.5608 GB, free: 13.8 MB / 430.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1483, allocations: 0 / 0.5608 GB, free: 13.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03715/0.1855, allocations: 8.732 MB / 0.5693 GB, free: 5.203 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.53, allocations: 8.219 kB / 0.5693 GB, free: 5.199 MB / 430.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState.fmu > PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.167921942658722] Failed to read output from testmodel.py, exit status != 0: 10.614847037009895 10.630847585 10.517932034 Calling exit ...