Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.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.000847/0.000847, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008304/0.0008304, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8819/0.8819, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2158/0.2158, allocations: 29.41 MB / 290.1 MB, free: 2.445 MB / 266.7 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.ASM,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASM,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.425e-05, allocations: 4.109 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.007228/0.007253, allocations: 7.053 MB / 437.3 MB, free: 6.504 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006766/0.01402, allocations: 4.977 MB / 442.2 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006224/0.01464, allocations: 35.75 kB / 442.3 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1707/0.1853, allocations: 6.559 MB / 448.8 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.1867, allocations: 0.7664 MB / 449.6 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008979/0.1876, allocations: 0.5495 MB / 450.2 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001677/0.1893, allocations: 2.786 MB / 452.9 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008013/0.1901, allocations: 1.135 MB / 454.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007827/0.1909, allocations: 1.07 MB / 455.1 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006241/0.1915, allocations: 0.8959 MB / 456 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.1916, allocations: 146.2 kB / 456.2 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007036/0.1923, allocations: 0.7066 MB / 456.9 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003916/0.1927, allocations: 0.6909 MB / 457.6 MB, free: 42.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004179/0.1932, allocations: 0.5232 MB / 458.1 MB, free: 41.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002225/0.1954, allocations: 2.372 MB / 460.5 MB, free: 41.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1954, allocations: 3.562 kB / 460.5 MB, free: 41.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.1954, allocations: 0 / 460.5 MB, free: 41.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.244e-05/0.1954, allocations: 0 / 460.5 MB, free: 41.24 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 293 * Number of variables: 293 Notification: Performance of Generate backend data structure: time 0.002312/0.1977, allocations: 1.923 MB / 462.4 MB, free: 40.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.1978, allocations: 14.14 kB / 462.4 MB, free: 40.11 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001447/0.1979, allocations: 179.6 kB / 462.6 MB, free: 40 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004691/0.1984, allocations: 218.9 kB / 462.8 MB, free: 39.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.1994, allocations: 0.9795 MB / 463.8 MB, free: 39.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.1996, allocations: 345.8 kB / 464.1 MB, free: 39.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.1997, allocations: 111.1 kB / 464.2 MB, free: 39.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.2014, allocations: 1.881 MB / 466.1 MB, free: 38.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/0.2014, allocations: 11.2 kB / 466.1 MB, free: 38.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.581e-05/0.2015, allocations: 48.03 kB / 466.2 MB, free: 38.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001547/0.2017, allocations: 120.7 kB / 466.3 MB, free: 38.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.2032, allocations: 1.594 MB / 467.9 MB, free: 37.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004359/0.2076, allocations: 5.376 MB / 473.3 MB, free: 34.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.2088, allocations: 1.036 MB / 474.3 MB, free: 34.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007212/0.2095, allocations: 0.6732 MB / 475 MB, free: 34.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.015e-05/0.2096, allocations: 16.19 kB / 475 MB, free: 34.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009195/0.2105, allocations: 0.9876 MB / 476 MB, free: 33.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=116): time 2.885e-06/0.2105, allocations: 0 / 476 MB, free: 33.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=119): time 0.005812/0.2163, allocations: 4.308 MB / 480.3 MB, free: 32.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.2164, allocations: 135 kB / 480.4 MB, free: 31.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008564/0.2172, allocations: 0.8078 MB / 481.2 MB, free: 31.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.652e-05/0.2173, allocations: 59.05 kB / 481.3 MB, free: 31.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/0.2176, allocations: 0.518 MB / 481.8 MB, free: 31.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/0.2178, allocations: 419.6 kB / 482.2 MB, free: 30.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/0.2181, allocations: 245.2 kB / 482.4 MB, free: 30.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.863e-05/0.2181, allocations: 368.6 kB / 482.8 MB, free: 30.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007749/0.2189, allocations: 0.7346 MB / 483.5 MB, free: 30.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008143/0.2197, allocations: 1.038 MB / 484.6 MB, free: 29.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.2212, allocations: 1.678 MB / 486.3 MB, free: 28.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.2212, allocations: 5.156 kB / 486.3 MB, free: 28.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002972/0.2242, allocations: 2.282 MB / 488.5 MB, free: 27.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.873e-05/0.2243, allocations: 58.55 kB / 488.6 MB, free: 27.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.2243, allocations: 8.062 kB / 488.6 MB, free: 27.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008468/0.2251, allocations: 412.7 kB / 489 MB, free: 27.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005271/0.2257, allocations: 215.4 kB / 489.2 MB, free: 27.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005206/0.2309, allocations: 5.976 MB / 495.2 MB, free: 23.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000961/0.2318, allocations: 96.09 kB / 495.3 MB, free: 23.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/0.232, allocations: 96.03 kB / 495.4 MB, free: 23.51 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 29 (system.initime,inverter.modulator.t0[3],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[1],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.gates[6],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 115 * Array equations: 3 * Algorithm blocks: 1 * 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 {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0007499/0.2327, allocations: 459.8 kB / 495.8 MB, free: 23.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/0.2329, allocations: 112.5 kB / 495.9 MB, free: 23.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/0.2354, allocations: 1.8 MB / 497.7 MB, free: 22.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.937e-05/0.2354, allocations: 26.88 kB / 497.8 MB, free: 22.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.2354, allocations: 3.031 kB / 497.8 MB, free: 22.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.2354, allocations: 5.016 kB / 497.8 MB, free: 22.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003975/0.2394, allocations: 3.116 MB / 0.4892 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.2394, allocations: 1.281 kB / 0.4892 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004975/0.2399, allocations: 168.3 kB / 0.4893 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003054/0.2402, allocations: 165.3 kB / 0.4895 GB, free: 21.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.718e-05/0.2403, allocations: 41.94 kB / 0.4895 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001859/0.2421, allocations: 4.467 MB / 0.4939 GB, free: 17.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2421, allocations: 4.062 kB / 0.4939 GB, free: 17.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003041/0.2452, allocations: 2.743 MB / 0.4966 GB, free: 16.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003866/0.2455, allocations: 232.6 kB / 0.4968 GB, free: 16.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.2457, allocations: 88.78 kB / 0.4969 GB, free: 16.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004348/0.2461, allocations: 110.6 kB / 0.497 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.2463, allocations: 87.42 kB / 0.4971 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.636e-05/0.2463, allocations: 42.53 kB / 0.4971 GB, free: 15.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004598/0.2468, allocations: 0.5444 MB / 0.4976 GB, free: 15.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2468, allocations: 0 / 0.4976 GB, free: 15.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001011/0.2478, allocations: 376.3 kB / 0.498 GB, free: 15.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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: 17 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3],system.initime) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 79 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.003672/0.2515, allocations: 3.79 MB / 0.5017 GB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002313/0.2538, allocations: 2.167 MB / 0.5038 GB, free: 11.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.2538, allocations: 0 / 0.5038 GB, free: 11.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.2548, allocations: 1.162 MB / 0.5049 GB, free: 9.992 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007658/0.2556, allocations: 246.6 kB / 0.5052 GB, free: 9.758 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.2669, allocations: 12.87 MB / 0.5177 GB, free: 12.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005386/0.2675, allocations: 0.6866 MB / 0.5184 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005412/0.268, allocations: 304.5 kB / 0.5187 GB, free: 11.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004562/0.2685, allocations: 444.3 kB / 0.5191 GB, free: 11.15 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2685, allocations: 0 / 0.5191 GB, free: 11.15 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04889/0.3173, allocations: 32 MB / 0.5504 GB, free: 11.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.55/8.867, allocations: 0 / 0.5504 GB, free: 11.4 MB / 458.7 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASM_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-05 PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASM.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.293143903836608] Failed to read output from testmodel.py, exit status != 0: 8.989546801894903 9.000028018 8.802915813 Calling exit ...