Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.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.001347/0.001347, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001399/0.001399, allocations: 214.7 kB / 23.74 MB, free: 4.656 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.534/1.534, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2257/0.2257, allocations: 38.52 MB / 352.4 MB, free: 12.56 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.Introductory.Units,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Units",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Units,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Units",fmuType="me",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.0023/0.0023, allocations: 75.83 kB / 492.5 MB, free: 4.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3915, allocations: 62.46 MB / 0.542 GB, free: 468 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.008367/0.3999, allocations: 6.282 MB / 0.5481 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004056/0.404, allocations: 2.034 MB / 0.5501 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004541/0.4044, allocations: 31.28 kB / 0.5501 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001991/0.4064, allocations: 0.7146 MB / 0.5508 GB, free: 9.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009832/0.4074, allocations: 380.3 kB / 0.5512 GB, free: 9.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.4086, allocations: 410.8 kB / 0.5516 GB, free: 8.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001305/0.4099, allocations: 0.9407 MB / 0.5525 GB, free: 8.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006479/0.4105, allocations: 397.3 kB / 0.5529 GB, free: 7.945 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000807/0.4113, allocations: 447.5 kB / 0.5533 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008939/0.4122, allocations: 0.5727 MB / 0.5539 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.879e-05/0.4123, allocations: 57.56 kB / 0.5539 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006177/0.413, allocations: 265.5 kB / 0.5542 GB, free: 7.246 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004429/0.4134, allocations: 421.2 kB / 0.5546 GB, free: 6.992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004982/0.4139, allocations: 428.3 kB / 0.555 GB, free: 6.719 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.4153, allocations: 1.032 MB / 0.556 GB, free: 6.047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4153, allocations: 1.062 kB / 0.556 GB, free: 6.047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4153, allocations: 0 / 0.556 GB, free: 6.047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.041e-05/0.4153, allocations: 0 / 0.556 GB, free: 6.047 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002111/0.4174, allocations: 1.028 MB / 0.557 GB, free: 5.094 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.4175, allocations: 11.98 kB / 0.557 GB, free: 5.082 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001746/0.4176, allocations: 135.3 kB / 0.5571 GB, free: 4.941 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.4187, allocations: 204.2 kB / 0.5573 GB, free: 4.742 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.4198, allocations: 498.1 kB / 0.5578 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-05/0.4198, allocations: 58.38 kB / 0.5579 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.42, allocations: 75.94 kB / 0.5579 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/0.4218, allocations: 1.134 MB / 0.559 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.328e-05/0.4219, allocations: 7.938 kB / 0.559 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.045e-05/0.4219, allocations: 32 kB / 0.5591 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.446e-05/0.422, allocations: 49.98 kB / 0.5591 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/0.4235, allocations: 0.8662 MB / 0.56 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006329/0.4298, allocations: 4.975 MB / 0.5648 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007332/0.4305, allocations: 400.8 kB / 0.5652 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/0.4309, allocations: 185.7 kB / 0.5654 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.152e-05/0.4309, allocations: 15.98 kB / 0.5654 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.977e-05/0.431, allocations: 42.56 kB / 0.5654 GB, free: 12.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.875e-06/0.431, allocations: 0 / 0.5654 GB, free: 12.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002022/0.433, allocations: 1.081 MB / 0.5665 GB, free: 10.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/0.4331, allocations: 85.05 kB / 0.5666 GB, free: 10.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005972/0.4337, allocations: 0.4941 MB / 0.5671 GB, free: 10.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.4337, allocations: 37.7 kB / 0.5671 GB, free: 10.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004587/0.4342, allocations: 467.3 kB / 0.5675 GB, free: 9.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.4343, allocations: 166.6 kB / 0.5677 GB, free: 9.676 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.4345, allocations: 150.6 kB / 0.5678 GB, free: 9.523 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002997/0.4348, allocations: 366.7 kB / 0.5682 GB, free: 9.156 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003689/0.4352, allocations: 245.8 kB / 0.5684 GB, free: 8.914 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007564/0.436, allocations: 0.6129 MB / 0.569 GB, free: 8.117 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.4371, allocations: 0.9416 MB / 0.57 GB, free: 6.992 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.4371, allocations: 4 kB / 0.57 GB, free: 6.988 MB / 414.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001372/0.4385, allocations: 0.8918 MB / 0.5708 GB, free: 6.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.4385, allocations: 14.66 kB / 0.5708 GB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.4386, allocations: 12.88 kB / 0.5709 GB, free: 6.066 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.194e-05/0.4386, allocations: 20 kB / 0.5709 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007363/0.4393, allocations: 223.6 kB / 0.5711 GB, free: 5.828 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.736e-05/0.4394, allocations: 31.86 kB / 0.5711 GB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004474/0.4398, allocations: 51.95 kB / 0.5712 GB, free: 5.746 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-05/0.4399, allocations: 44 kB / 0.5712 GB, free: 5.703 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (99): * Single equations (assignments): 99 * 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.0004301/0.4403, allocations: 305.6 kB / 0.5715 GB, free: 5.395 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.242e-05/0.4404, allocations: 59.62 kB / 0.5716 GB, free: 5.336 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009795/0.4414, allocations: 0.5563 MB / 0.5721 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.4414, allocations: 4 kB / 0.5721 GB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.4414, allocations: 4 kB / 0.5721 GB, free: 4.762 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.4414, allocations: 11.92 kB / 0.5721 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/0.4436, allocations: 1.301 MB / 0.5734 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.4436, allocations: 0 / 0.5734 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004502/0.4441, allocations: 111.8 kB / 0.5735 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.4441, allocations: 4 kB / 0.5735 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.4441, allocations: 12 kB / 0.5735 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.4441, allocations: 8.188 kB / 0.5735 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4441, allocations: 7.984 kB / 0.5735 GB, free: 3.234 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008549/0.445, allocations: 0.646 MB / 0.5742 GB, free: 2.547 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.4451, allocations: 59.55 kB / 0.5742 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.872e-05/0.4451, allocations: 12 kB / 0.5742 GB, free: 2.477 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/0.4454, allocations: 23.97 kB / 0.5742 GB, free: 2.453 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.4455, allocations: 39.72 kB / 0.5743 GB, free: 2.414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.4455, allocations: 16 kB / 0.5743 GB, free: 2.398 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003824/0.4459, allocations: 326.9 kB / 0.5746 GB, free: 2.082 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4459, allocations: 0 / 0.5746 GB, free: 2.082 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007703/0.4467, allocations: 167.9 kB / 0.5748 GB, free: 1.918 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (51): * Single equations (assignments): 50 * 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.001228/0.4479, allocations: 1.202 MB / 0.5759 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009576/0.4488, allocations: 0.5754 MB / 0.5765 GB, free: 88 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.4488, allocations: 0 / 0.5765 GB, free: 88 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003444/0.4492, allocations: 231.2 kB / 0.5767 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006681/0.4499, allocations: 111 kB / 0.5768 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008313/0.4582, allocations: 5.799 MB / 0.5825 GB, free: 9.445 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007595/0.4589, allocations: 1.003 MB / 0.5835 GB, free: 8.414 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005787/0.4595, allocations: 224.9 kB / 0.5837 GB, free: 8.195 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004073/0.4599, allocations: 259.3 kB / 0.5839 GB, free: 7.941 MB / 430.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4599, allocations: 0 / 0.5839 GB, free: 7.941 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04783/0.5077, allocations: 12.24 MB / 0.5959 GB, free: 11.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.5, allocations: 6.344 kB / 0.5959 GB, free: 11.84 MB / 446.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Units.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_Units_fmu --startTime=0 --stopTime=0.1 --stepSize=4e-05 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_Units.fmu > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.520993156824261] Failed to read output from testmodel.py, exit status != 0: 12.613768866052851 12.629357935 12.210766307 Calling exit ...