Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.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.001465/0.001465, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.001535/0.001535, allocations: 218.9 kB / 21.46 MB, free: 1.605 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.629/1.629, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.1875/0.1875, allocations: 38.51 MB / 349.4 MB, free: 2.57 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.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.ASMav,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASMav,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav",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.002159/0.002159, allocations: 59.91 kB / 487.8 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1204, allocations: 62.42 MB / 0.5374 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.01096/0.1314, allocations: 7.206 MB / 0.5444 GB, free: 316 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009428/0.1408, allocations: 5.3 MB / 0.5496 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008868/0.1417, allocations: 39.69 kB / 0.5496 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01233/0.154, allocations: 5.75 MB / 0.5552 GB, free: 5.191 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002076/0.1561, allocations: 0.5676 MB / 0.5558 GB, free: 4.621 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.1578, allocations: 0.4951 MB / 0.5563 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003603/0.1614, allocations: 2.257 MB / 0.5585 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001414/0.1628, allocations: 0.8299 MB / 0.5593 GB, free: 1.012 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.1641, allocations: 0.6266 MB / 0.5599 GB, free: 392 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.1655, allocations: 0.7748 MB / 0.5606 GB, free: 15.6 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003539/0.1658, allocations: 104 kB / 0.5607 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009779/0.1668, allocations: 315.5 kB / 0.561 GB, free: 15.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008002/0.1676, allocations: 0.5025 MB / 0.5615 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001277/0.1689, allocations: 0.587 MB / 0.5621 GB, free: 14.1 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002809/0.1717, allocations: 1.607 MB / 0.5637 GB, free: 12.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.1717, allocations: 3.938 kB / 0.5637 GB, free: 12.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1717, allocations: 0 / 0.5637 GB, free: 12.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.232e-05/0.1718, allocations: 0 / 0.5637 GB, free: 12.48 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.004633/0.1764, allocations: 1.517 MB / 0.5652 GB, free: 10.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.1765, allocations: 8.031 kB / 0.5652 GB, free: 10.9 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.397e-05/0.1765, allocations: 26.12 kB / 0.5652 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003048/0.1768, allocations: 143.6 kB / 0.5653 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009911/0.1778, allocations: 188.1 kB / 0.5655 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/0.1799, allocations: 0.9097 MB / 0.5664 GB, free: 9.594 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.811e-05/0.18, allocations: 65.98 kB / 0.5665 GB, free: 9.531 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/0.1802, allocations: 87.95 kB / 0.5666 GB, free: 9.445 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/0.1822, allocations: 1.235 MB / 0.5678 GB, free: 8.137 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/0.1822, allocations: 4 kB / 0.5678 GB, free: 8.133 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.26e-05/0.1823, allocations: 39.92 kB / 0.5678 GB, free: 8.094 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002455/0.1826, allocations: 89.88 kB / 0.5679 GB, free: 8.008 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/0.1842, allocations: 1.007 MB / 0.5689 GB, free: 6.996 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007121/0.1914, allocations: 4.902 MB / 0.5737 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.1924, allocations: 0.6252 MB / 0.5743 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005898/0.193, allocations: 331.3 kB / 0.5746 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.55e-05/0.193, allocations: 12.55 kB / 0.5746 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007055/0.1937, allocations: 445.7 kB / 0.575 GB, free: 436 kB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.775e-06/0.1937, allocations: 0 / 0.575 GB, free: 436 kB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.005158/0.1989, allocations: 2.752 MB / 0.5777 GB, free: 13.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.746e-05/0.199, allocations: 115.4 kB / 0.5778 GB, free: 13.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.2001, allocations: 0.7625 MB / 0.5786 GB, free: 12.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.513e-05/0.2001, allocations: 37.64 kB / 0.5786 GB, free: 12.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004223/0.2006, allocations: 0.5116 MB / 0.5791 GB, free: 12.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/0.2008, allocations: 245.9 kB / 0.5793 GB, free: 11.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002974/0.2011, allocations: 182.5 kB / 0.5795 GB, free: 11.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002252/0.2013, allocations: 398.7 kB / 0.5799 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006547/0.202, allocations: 377.8 kB / 0.5802 GB, free: 10.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008701/0.2028, allocations: 0.6539 MB / 0.5809 GB, free: 10.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.2044, allocations: 1.053 MB / 0.5819 GB, free: 8.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.2044, allocations: 4 kB / 0.5819 GB, free: 8.926 MB / 446.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003324/0.2077, allocations: 1.615 MB / 0.5835 GB, free: 7.277 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.2077, allocations: 12 kB / 0.5835 GB, free: 7.266 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.2078, allocations: 12.44 kB / 0.5835 GB, free: 7.254 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001634/0.2094, allocations: 493.8 kB / 0.584 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006718/0.2101, allocations: 167.7 kB / 0.5841 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2469/0.457, allocations: 7.084 MB / 0.5911 GB, free: 49.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008208/0.4578, allocations: 45.5 kB / 0.5911 GB, free: 49.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.4579, allocations: 46.89 kB / 0.5912 GB, free: 49.95 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0005037/0.4584, allocations: 355.8 kB / 0.5915 GB, free: 49.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.4585, allocations: 92.58 kB / 0.5916 GB, free: 49.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/0.4604, allocations: 1.106 MB / 0.5927 GB, free: 49.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.4604, allocations: 7 kB / 0.5927 GB, free: 49.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4604, allocations: 2.781 kB / 0.5927 GB, free: 49.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.4604, allocations: 3.609 kB / 0.5927 GB, free: 49.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003303/0.4637, allocations: 2.126 MB / 0.5948 GB, free: 48.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4637, allocations: 0.7812 kB / 0.5948 GB, free: 48.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007496/0.4645, allocations: 123.8 kB / 0.5949 GB, free: 48.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005306/0.465, allocations: 160.5 kB / 0.595 GB, free: 48.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.027e-05/0.465, allocations: 27.41 kB / 0.595 GB, free: 48.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003385/0.4684, allocations: 4.807 MB / 0.5997 GB, free: 44.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4684, allocations: 6.328 kB / 0.5997 GB, free: 44.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002374/0.4708, allocations: 1.533 MB / 0.6012 GB, free: 43.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/0.4711, allocations: 215 kB / 0.6015 GB, free: 43.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.4712, allocations: 24.22 kB / 0.6015 GB, free: 43.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004448/0.4717, allocations: 29.97 kB / 0.6015 GB, free: 43.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.4718, allocations: 53.83 kB / 0.6016 GB, free: 43.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.636e-05/0.4718, allocations: 26.61 kB / 0.6016 GB, free: 43.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007302/0.4726, allocations: 0.5204 MB / 0.6021 GB, free: 43.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4726, allocations: 0 / 0.6021 GB, free: 43.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001151/0.4737, allocations: 279.2 kB / 0.6024 GB, free: 43.19 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 13 (power.pav[1],power.pav[2],power.pav[3],asm.rotor.phi,asm.rotor.w,asm.motor.i[3],asm.motor.psi_s[1],asm.motor.psi_s[2],asm.motor.psi_rd[1],asm.motor.psi_rd[2],asm.motor.psi_rq[1],asm.motor.psi_rq[2],tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003998/0.4777, allocations: 2.45 MB / 0.6047 GB, free: 41.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002559/0.4803, allocations: 1.291 MB / 0.606 GB, free: 41.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.4803, allocations: 1.422 kB / 0.606 GB, free: 41.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.4816, allocations: 0.7652 MB / 0.6068 GB, free: 40.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.4827, allocations: 215.4 kB / 0.607 GB, free: 40.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/0.4967, allocations: 9.872 MB / 0.6166 GB, free: 35.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005758/0.4973, allocations: 1.143 MB / 0.6177 GB, free: 34.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006186/0.4979, allocations: 236.1 kB / 0.6179 GB, free: 34.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003835/0.4983, allocations: 366.5 kB / 0.6183 GB, free: 34.22 MB / 446.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4983, allocations: 1.203 kB / 0.6183 GB, free: 34.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05243/0.5507, allocations: 24.58 MB / 0.6423 GB, free: 13.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.2/17.76, allocations: 12.03 kB / 0.6423 GB, free: 13.25 MB / 446.1 MB " [Timeout remaining time 642] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_fmu --startTime=0 --stopTime=60 --stepSize=0.05 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.020731962984428] Failed to read output from testmodel.py, exit status != 0: 17.979475570027716 17.999667727 17.823910586 Calling exit ...