Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.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.2784/0.2784, allocations: 38.52 MB / 353.2 MB, free: 12.54 MB / 286.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002892/0.002892, allocations: 70.86 kB / 493.3 MB, free: 4.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3934, allocations: 62.46 MB / 0.5428 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.005628/0.3991, allocations: 3.588 MB / 0.5463 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002618/0.4017, allocations: 1.508 MB / 0.5477 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.4019, allocations: 8.656 kB / 0.5477 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.4029, allocations: 259.8 kB / 0.548 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00082/0.4037, allocations: 281.7 kB / 0.5483 GB, free: 12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/0.4041, allocations: 111.2 kB / 0.5484 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005168/0.4046, allocations: 337.4 kB / 0.5487 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003324/0.4049, allocations: 118.8 kB / 0.5488 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003521/0.4053, allocations: 172.7 kB / 0.549 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000295/0.4056, allocations: 162.8 kB / 0.5491 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.883e-05/0.4056, allocations: 13.44 kB / 0.5491 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006188/0.4062, allocations: 321 kB / 0.5494 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.4063, allocations: 103 kB / 0.5495 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.4065, allocations: 104.4 kB / 0.5496 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006068/0.4071, allocations: 341.5 kB / 0.55 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4071, allocations: 0 / 0.55 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4071, allocations: 0 / 0.55 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.4071, allocations: 4 kB / 0.55 GB, free: 10.96 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008793/0.408, allocations: 456.8 kB / 0.5504 GB, free: 10.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.022e-05/0.408, allocations: 13.86 kB / 0.5504 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.681e-05/0.4081, allocations: 4.469 kB / 0.5504 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.74e-05/0.4081, allocations: 54.27 kB / 0.5505 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000967/0.4091, allocations: 91.62 kB / 0.5506 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.4095, allocations: 218.4 kB / 0.5508 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.4095, allocations: 18.56 kB / 0.5508 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.821e-05/0.4096, allocations: 20.73 kB / 0.5508 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005727/0.4101, allocations: 320.4 kB / 0.5511 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.4102, allocations: 4 kB / 0.5511 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.4102, allocations: 6.75 kB / 0.5511 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-05/0.4102, allocations: 15.95 kB / 0.5511 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004788/0.4107, allocations: 292.2 kB / 0.5514 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001919/0.4126, allocations: 1.243 MB / 0.5526 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003936/0.413, allocations: 158 kB / 0.5528 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.311e-05/0.4131, allocations: 54.88 kB / 0.5528 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.4131, allocations: 1.094 kB / 0.5528 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.4132, allocations: 36.56 kB / 0.5529 GB, free: 8.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.773e-06/0.4132, allocations: 0 / 0.5529 GB, free: 8.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006903/0.4139, allocations: 291.5 kB / 0.5531 GB, free: 8.422 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.667e-05/0.4139, allocations: 87.48 kB / 0.5532 GB, free: 8.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.4141, allocations: 194.4 kB / 0.5534 GB, free: 8.172 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.4142, allocations: 26.83 kB / 0.5534 GB, free: 8.141 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.4143, allocations: 172.4 kB / 0.5536 GB, free: 7.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.571e-05/0.4143, allocations: 50.39 kB / 0.5536 GB, free: 7.938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.768e-05/0.4144, allocations: 45.78 kB / 0.5537 GB, free: 7.902 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.4146, allocations: 326.8 kB / 0.554 GB, free: 7.578 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.79e-05/0.4147, allocations: 45.78 kB / 0.554 GB, free: 7.559 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.4148, allocations: 143.7 kB / 0.5542 GB, free: 7.406 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.4151, allocations: 221.6 kB / 0.5544 GB, free: 7.211 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.4151, allocations: 5 kB / 0.5544 GB, free: 7.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003732/0.4155, allocations: 230 kB / 0.5546 GB, free: 7.078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.4155, allocations: 6.094 kB / 0.5546 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.4155, allocations: 3.438 kB / 0.5546 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.4156, allocations: 5.062 kB / 0.5546 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.4158, allocations: 43.23 kB / 0.5547 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.721e-05/0.4158, allocations: 8.578 kB / 0.5547 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.4159, allocations: 8.219 kB / 0.5547 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.4159, allocations: 14.34 kB / 0.5547 GB, free: 7.059 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001774/0.4161, allocations: 164.3 kB / 0.5549 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.4161, allocations: 15.69 kB / 0.5549 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.4164, allocations: 151.3 kB / 0.555 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.4164, allocations: 1.062 kB / 0.555 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4165, allocations: 1.156 kB / 0.555 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.4165, allocations: 5.078 kB / 0.555 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009931/0.4175, allocations: 0.641 MB / 0.5556 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.4175, allocations: 6.5 kB / 0.5557 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.4176, allocations: 29.73 kB / 0.5557 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.4176, allocations: 8.469 kB / 0.5557 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.4176, allocations: 9.375 kB / 0.5557 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.4176, allocations: 3.656 kB / 0.5557 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.4176, allocations: 4 kB / 0.5557 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003983/0.418, allocations: 336.4 kB / 0.556 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.4181, allocations: 29.53 kB / 0.5561 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.4181, allocations: 9.047 kB / 0.5561 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.4182, allocations: 8.156 kB / 0.5561 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.4183, allocations: 22.3 kB / 0.5561 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.4183, allocations: 7.812 kB / 0.5561 GB, free: 5.855 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001423/0.4184, allocations: 140.8 kB / 0.5562 GB, free: 5.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4184, allocations: 3.938 kB / 0.5562 GB, free: 5.746 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003896/0.4188, allocations: 43.12 kB / 0.5563 GB, free: 5.742 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 0 * 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.0007068/0.4195, allocations: 0.8665 MB / 0.5571 GB, free: 4.891 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002957/0.4198, allocations: 145.2 kB / 0.5573 GB, free: 4.824 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4198, allocations: 0 / 0.5573 GB, free: 4.824 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.4199, allocations: 62.5 kB / 0.5573 GB, free: 4.797 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.4204, allocations: 45.98 kB / 0.5574 GB, free: 4.773 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002973/0.4234, allocations: 2.432 MB / 0.5597 GB, free: 2.254 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.4238, allocations: 0.7515 MB / 0.5605 GB, free: 1.477 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001376/0.424, allocations: 45.59 kB / 0.5605 GB, free: 1.434 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.4241, allocations: 59.42 kB / 0.5606 GB, free: 1.375 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4241, allocations: 0 / 0.5606 GB, free: 1.375 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.4495, allocations: 3.785 MB / 0.5643 GB, free: 13.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.67, allocations: 10.59 kB / 0.5643 GB, free: 13.71 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.601050641038455] Failed to read output from testmodel.py, exit status != 0: 11.84383741801139 11.872142669 11.459318808999999 Calling exit ...