Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.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.00166/0.00166, allocations: 123.9 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.001938/0.001938, allocations: 185.2 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.453/1.453, allocations: 225.6 MB / 249.1 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1873/0.1873, allocations: 38.51 MB / 342.5 MB, free: 8.082 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-master/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.AC3ph.Drives.ASMav,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASMav,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003044/0.003044, allocations: 65.73 kB / 478.6 MB, free: 33.58 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1281, allocations: 61.25 MB / 0.5272 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.01033/0.1385, allocations: 7.184 MB / 0.5342 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009311/0.1478, allocations: 5.114 MB / 0.5392 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.1488, allocations: 27.88 kB / 0.5393 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01182/0.1606, allocations: 5.722 MB / 0.5448 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.1623, allocations: 0.5248 MB / 0.5454 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.1638, allocations: 0.4942 MB / 0.5458 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00345/0.1672, allocations: 2.261 MB / 0.5481 GB, free: 12.01 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/0.1685, allocations: 0.8103 MB / 0.5488 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.1697, allocations: 0.615 MB / 0.5494 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.1709, allocations: 0.7707 MB / 0.5502 GB, free: 9.793 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000231/0.1711, allocations: 100 kB / 0.5503 GB, free: 9.695 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005944/0.1717, allocations: 259.8 kB / 0.5505 GB, free: 9.441 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005586/0.1723, allocations: 0.4986 MB / 0.551 GB, free: 8.941 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008411/0.1731, allocations: 0.5754 MB / 0.5516 GB, free: 8.363 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.175, allocations: 1.557 MB / 0.5531 GB, free: 6.801 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.175, allocations: 0 / 0.5531 GB, free: 6.801 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.175, allocations: 7.938 kB / 0.5531 GB, free: 6.793 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.858e-05/0.1751, allocations: 0 / 0.5531 GB, free: 6.793 MB / 414.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.003264/0.1783, allocations: 1.486 MB / 0.5546 GB, free: 5.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.1784, allocations: 19.89 kB / 0.5546 GB, free: 5.23 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001784/0.1786, allocations: 139.6 kB / 0.5547 GB, free: 5.086 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000608/0.1792, allocations: 148.1 kB / 0.5549 GB, free: 4.941 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001947/0.1811, allocations: 0.9138 MB / 0.5558 GB, free: 3.984 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.932e-05/0.1812, allocations: 65.98 kB / 0.5558 GB, free: 3.918 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.1813, allocations: 84 kB / 0.5559 GB, free: 3.836 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/0.1833, allocations: 1.235 MB / 0.5571 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.476e-05/0.1833, allocations: 7.953 kB / 0.5571 GB, free: 2.523 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.843e-05/0.1834, allocations: 35.98 kB / 0.5571 GB, free: 2.488 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002342/0.1836, allocations: 93.86 kB / 0.5572 GB, free: 2.395 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/0.1853, allocations: 0.9992 MB / 0.5582 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007791/0.1931, allocations: 4.902 MB / 0.563 GB, free: 12.28 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.1941, allocations: 0.6099 MB / 0.5636 GB, free: 11.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005861/0.1947, allocations: 335.3 kB / 0.5639 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.431e-05/0.1948, allocations: 12.53 kB / 0.5639 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007116/0.1955, allocations: 449.7 kB / 0.5644 GB, free: 10.83 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 3.035e-06/0.1955, allocations: 0 / 0.5644 GB, free: 10.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.005423/0.2009, allocations: 2.738 MB / 0.567 GB, free: 7.957 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.711e-05/0.201, allocations: 115.4 kB / 0.5671 GB, free: 7.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.2021, allocations: 0.7507 MB / 0.5679 GB, free: 7.059 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.154e-05/0.2021, allocations: 37.7 kB / 0.5679 GB, free: 7.016 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004721/0.2026, allocations: 0.5077 MB / 0.5684 GB, free: 6.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.2029, allocations: 249.9 kB / 0.5686 GB, free: 6.254 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000375/0.2033, allocations: 178.5 kB / 0.5688 GB, free: 6.074 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002352/0.2035, allocations: 402.7 kB / 0.5692 GB, free: 5.672 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006608/0.2042, allocations: 373.8 kB / 0.5695 GB, free: 5.309 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008934/0.205, allocations: 0.6539 MB / 0.5702 GB, free: 4.527 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/0.2066, allocations: 1.053 MB / 0.5712 GB, free: 3.348 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.2066, allocations: 11.94 kB / 0.5712 GB, free: 3.336 MB / 430.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003247/0.2099, allocations: 1.611 MB / 0.5728 GB, free: 1.691 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.2099, allocations: 8 kB / 0.5728 GB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.2099, allocations: 8.5 kB / 0.5728 GB, free: 1.676 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00154/0.2114, allocations: 493.8 kB / 0.5733 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006365/0.2121, allocations: 171.7 kB / 0.5735 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01103/0.2231, allocations: 7.086 MB / 0.5804 GB, free: 9.652 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008617/0.224, allocations: 48.03 kB / 0.5804 GB, free: 9.605 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001838/0.2242, allocations: 47.98 kB / 0.5805 GB, free: 9.559 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.0006386/0.2248, allocations: 352.2 kB / 0.5808 GB, free: 9.207 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.225, allocations: 91.39 kB / 0.5809 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.227, allocations: 1.114 MB / 0.582 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.227, allocations: 4 kB / 0.582 GB, free: 7.941 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.2271, allocations: 4 kB / 0.582 GB, free: 7.938 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.2271, allocations: 3.984 kB / 0.582 GB, free: 7.934 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003979/0.231, allocations: 2.103 MB / 0.584 GB, free: 5.711 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.2311, allocations: 4 kB / 0.584 GB, free: 5.707 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007504/0.2318, allocations: 123.8 kB / 0.5842 GB, free: 5.586 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000556/0.2324, allocations: 158.5 kB / 0.5843 GB, free: 5.422 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.567e-05/0.2324, allocations: 27.98 kB / 0.5843 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004843/0.2373, allocations: 4.817 MB / 0.589 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2373, allocations: 0 / 0.589 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002703/0.24, allocations: 1.531 MB / 0.5905 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005049/0.2405, allocations: 216.5 kB / 0.5907 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/0.2407, allocations: 20 kB / 0.5908 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000498/0.2411, allocations: 35.97 kB / 0.5908 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.2413, allocations: 64.23 kB / 0.5909 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.293e-05/0.2413, allocations: 23.98 kB / 0.5909 GB, free: 14.18 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008235/0.2422, allocations: 0.5107 MB / 0.5914 GB, free: 13.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2422, allocations: 4 kB / 0.5914 GB, free: 13.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001264/0.2434, allocations: 263.9 kB / 0.5916 GB, free: 13.42 MB / 462.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.004399/0.2478, allocations: 2.394 MB / 0.594 GB, free: 11.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002787/0.2506, allocations: 1.287 MB / 0.5952 GB, free: 9.785 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.2506, allocations: 0 / 0.5952 GB, free: 9.785 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.252, allocations: 0.7614 MB / 0.596 GB, free: 8.984 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.2533, allocations: 213.5 kB / 0.5962 GB, free: 8.773 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2542/0.5075, allocations: 9.812 MB / 0.6058 GB, free: 70.86 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007444/0.5083, allocations: 1.145 MB / 0.6069 GB, free: 70.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007591/0.509, allocations: 230.5 kB / 0.6071 GB, free: 70.14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004356/0.5095, allocations: 361.8 kB / 0.6074 GB, free: 70.14 MB / 462.1 MB Notification: Performance of SimCode: time 1.282e-06/0.5095, allocations: 0 / 0.6074 GB, free: 70.14 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06168/0.5711, allocations: 24.08 MB / 0.631 GB, free: 60.07 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.66/17.23, allocations: 19.31 kB / 0.631 GB, free: 60.05 MB / 462.1 MB " [Timeout remaining time 643] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav_fmu --startTime=0 --stopTime=60 --stepSize=0.05 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMav.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.39644045708701] Failed to read output from testmodel.py, exit status != 0: 17.399987890850753 17.417521641 17.238765206 Calling exit ...