Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.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.001812/0.001812, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002215/0.002215, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.546/1.546, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.1914/0.1914, allocations: 38.55 MB / 353.2 MB, free: 12.3 MB / 286.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.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.AC3ph.Drives.ASMcharacteristic,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMcharacteristic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMcharacteristic",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.002289/0.002289, allocations: 59.91 kB / 493.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3627, allocations: 62.48 MB / 0.5427 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.007122/0.3699, allocations: 5.051 MB / 0.5476 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006083/0.3759, allocations: 3.638 MB / 0.5512 GB, free: 9.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003827/0.3763, allocations: 22.44 kB / 0.5512 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01134/0.3877, allocations: 5.393 MB / 0.5565 GB, free: 6.137 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001104/0.3888, allocations: 334.5 kB / 0.5568 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006479/0.3894, allocations: 215.6 kB / 0.557 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002871/0.3923, allocations: 1.641 MB / 0.5586 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000953/0.3932, allocations: 0.53 MB / 0.5591 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007155/0.394, allocations: 382.6 kB / 0.5595 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000778/0.3947, allocations: 442.3 kB / 0.5599 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.3948, allocations: 56 kB / 0.56 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.395, allocations: 64 kB / 0.56 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003414/0.3954, allocations: 259.3 kB / 0.5603 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003639/0.3957, allocations: 262.8 kB / 0.5605 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.397, allocations: 0.8173 MB / 0.5613 GB, free: 1.152 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.397, allocations: 4 kB / 0.5613 GB, free: 1.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.397, allocations: 0 / 0.5613 GB, free: 1.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.3971, allocations: 0 / 0.5613 GB, free: 1.148 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001869/0.3989, allocations: 0.8124 MB / 0.5621 GB, free: 316 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.399, allocations: 15.98 kB / 0.5621 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.726e-05/0.399, allocations: 13.19 kB / 0.5621 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/0.3991, allocations: 90.7 kB / 0.5622 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000324/0.3994, allocations: 72.5 kB / 0.5623 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.4006, allocations: 495 kB / 0.5628 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.629e-05/0.4007, allocations: 40.98 kB / 0.5628 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.4008, allocations: 44 kB / 0.5629 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.4021, allocations: 0.6296 MB / 0.5635 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.546e-05/0.4021, allocations: 11.97 kB / 0.5635 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.635e-05/0.4021, allocations: 19.98 kB / 0.5635 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001482/0.4023, allocations: 52.97 kB / 0.5635 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007922/0.4031, allocations: 463.6 kB / 0.564 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003332/0.4064, allocations: 2.314 MB / 0.5663 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004835/0.4069, allocations: 261.2 kB / 0.5665 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/0.4071, allocations: 129.7 kB / 0.5666 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.4072, allocations: 4 kB / 0.5666 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.4072, allocations: 38.5 kB / 0.5667 GB, free: 11.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.515e-06/0.4072, allocations: 0 / 0.5667 GB, free: 11.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.00304/0.4102, allocations: 1.251 MB / 0.5679 GB, free: 10.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.4103, allocations: 81.11 kB / 0.568 GB, free: 10.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005246/0.4108, allocations: 417.8 kB / 0.5684 GB, free: 9.605 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.4109, allocations: 29.7 kB / 0.5684 GB, free: 9.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.4111, allocations: 308.2 kB / 0.5687 GB, free: 9.266 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.4112, allocations: 123.1 kB / 0.5688 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.4114, allocations: 86.08 kB / 0.5689 GB, free: 9.055 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.4116, allocations: 354.7 kB / 0.5692 GB, free: 8.699 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.4118, allocations: 132.8 kB / 0.5693 GB, free: 8.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/0.4121, allocations: 278.2 kB / 0.5696 GB, free: 8.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006324/0.4128, allocations: 454 kB / 0.57 GB, free: 7.723 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.4128, allocations: 3.984 kB / 0.57 GB, free: 7.719 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001118/0.4139, allocations: 0.5923 MB / 0.5706 GB, free: 7.113 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.4139, allocations: 7.938 kB / 0.5706 GB, free: 7.105 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.4139, allocations: 8 kB / 0.5706 GB, free: 7.098 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004837/0.4144, allocations: 145.6 kB / 0.5708 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003092/0.4147, allocations: 72.19 kB / 0.5709 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003623/0.4183, allocations: 3.454 MB / 0.5742 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.4186, allocations: 19.92 kB / 0.5742 GB, free: 3.172 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.805e-05/0.4187, allocations: 20 kB / 0.5743 GB, free: 3.152 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000326/0.419, allocations: 235.5 kB / 0.5745 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.843e-05/0.4191, allocations: 55.61 kB / 0.5745 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009892/0.4201, allocations: 0.4961 MB / 0.575 GB, free: 2.352 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.4201, allocations: 4 kB / 0.575 GB, free: 2.348 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0008641/0.4209, allocations: 409.2 kB / 0.5754 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.4209, allocations: 0 / 0.5754 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.4226, allocations: 0.9303 MB / 0.5763 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.4226, allocations: 4 kB / 0.5763 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.4228, allocations: 32.11 kB / 0.5764 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003003/0.4231, allocations: 100.8 kB / 0.5765 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.4231, allocations: 11.92 kB / 0.5765 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002344/0.4255, allocations: 1.901 MB / 0.5783 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4255, allocations: 4.031 kB / 0.5783 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.4265, allocations: 0.6431 MB / 0.579 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.4267, allocations: 71.61 kB / 0.579 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.678e-05/0.4267, allocations: 8 kB / 0.579 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.4269, allocations: 4 kB / 0.579 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/0.427, allocations: 27.89 kB / 0.5791 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.427, allocations: 16.12 kB / 0.5791 GB, free: 13.97 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003751/0.4274, allocations: 311 kB / 0.5794 GB, free: 13.67 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4274, allocations: 0 / 0.5794 GB, free: 13.67 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005519/0.4279, allocations: 116 kB / 0.5795 GB, free: 13.55 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (asm.rotor.phi,asm.rotor.w) * 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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001451/0.4294, allocations: 1.181 MB / 0.5806 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.4305, allocations: 0.5912 MB / 0.5812 GB, free: 11.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.4305, allocations: 4 kB / 0.5812 GB, free: 11.71 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004993/0.431, allocations: 295.7 kB / 0.5815 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007499/0.4318, allocations: 112.2 kB / 0.5816 GB, free: 11.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007365/0.4392, allocations: 4.641 MB / 0.5861 GB, free: 6.422 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00046/0.4396, allocations: 319.7 kB / 0.5864 GB, free: 6.082 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003445/0.44, allocations: 72.34 kB / 0.5865 GB, free: 6.012 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003611/0.4403, allocations: 183.4 kB / 0.5867 GB, free: 5.832 MB / 430.1 MB Notification: Performance of SimCode: time 1.794e-06/0.4403, allocations: 0 / 0.5867 GB, free: 5.832 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04463/0.4849, allocations: 11.2 MB / 0.5976 GB, free: 10.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.28, allocations: 7.438 kB / 0.5976 GB, free: 10.88 MB / 446.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMcharacteristic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMcharacteristic.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.29146972799208] Failed to read output from testmodel.py, exit status != 0: 13.470147464075126 13.485745776 13.085260069 Calling exit ...