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.001094/0.001094, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008552/0.0008552, allocations: 170 kB / 23.94 MB, free: 0.6172 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.9085/0.9085, 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.2292/0.2292, allocations: 29.4 MB / 290.1 MB, free: 2.449 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.ASMcharacteristic,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMcharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMcharacteristic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.635e-05, allocations: 6.219 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.006934/0.006961, allocations: 5.063 MB / 435.3 MB, free: 8.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005506/0.01247, allocations: 3.65 MB / 438.9 MB, free: 4.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003232/0.01279, allocations: 19.81 kB / 438.9 MB, free: 4.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.2061/0.2189, allocations: 5.359 MB / 444.3 MB, free: 46.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009142/0.2198, allocations: 339.3 kB / 444.6 MB, free: 46.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004991/0.2203, allocations: 222.8 kB / 444.8 MB, free: 46.58 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001316/0.2217, allocations: 1.662 MB / 446.5 MB, free: 46.42 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004751/0.2221, allocations: 0.5172 MB / 447 MB, free: 46.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003386/0.2225, allocations: 0.5021 MB / 447.5 MB, free: 46.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003045/0.2228, allocations: 381 kB / 447.9 MB, free: 46.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.772e-05/0.2228, allocations: 54.09 kB / 447.9 MB, free: 46.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.2229, allocations: 74.34 kB / 448 MB, free: 46.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.2231, allocations: 272.4 kB / 448.3 MB, free: 46.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.2232, allocations: 218.1 kB / 448.5 MB, free: 46.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005708/0.2238, allocations: 0.8131 MB / 449.3 MB, free: 46.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2238, allocations: 3.25 kB / 449.3 MB, free: 46.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2238, allocations: 0 / 449.3 MB, free: 46.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.2238, allocations: 3.938 kB / 449.3 MB, free: 46.2 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.0009623/0.2248, allocations: 0.814 MB / 450.1 MB, free: 45.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.2248, allocations: 13.17 kB / 450.1 MB, free: 45.72 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.204e-05/0.2248, allocations: 86.06 kB / 450.2 MB, free: 45.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.225, allocations: 80.31 kB / 450.3 MB, free: 45.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000539/0.2256, allocations: 497 kB / 450.8 MB, free: 45.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.2256, allocations: 36.2 kB / 450.8 MB, free: 45.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.259e-05/0.2256, allocations: 51.75 kB / 450.9 MB, free: 45.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005056/0.2261, allocations: 0.626 MB / 451.5 MB, free: 45.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.2262, allocations: 3.188 kB / 451.5 MB, free: 45.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.2262, allocations: 18.48 kB / 451.5 MB, free: 45.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6e-05/0.2262, allocations: 51.33 kB / 451.6 MB, free: 45.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003976/0.2266, allocations: 469.1 kB / 452 MB, free: 45.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.2281, allocations: 2.315 MB / 454.4 MB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.2283, allocations: 264.8 kB / 454.6 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.2284, allocations: 125.8 kB / 454.7 MB, free: 43.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.2285, allocations: 6.25 kB / 454.7 MB, free: 43.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.2285, allocations: 41.89 kB / 454.8 MB, free: 43.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.322e-06/0.2285, allocations: 0 / 454.8 MB, free: 43.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.001478/0.23, allocations: 1.244 MB / 456 MB, free: 42.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.23, allocations: 83.84 kB / 456.1 MB, free: 42.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.2302, allocations: 418.4 kB / 456.5 MB, free: 42.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.2302, allocations: 29.7 kB / 456.5 MB, free: 42.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.517e-05/0.2303, allocations: 311.8 kB / 456.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.2304, allocations: 125.5 kB / 457 MB, free: 42.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.619e-05/0.2304, allocations: 80.42 kB / 457 MB, free: 42.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.64e-05/0.2305, allocations: 354 kB / 457.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.2306, allocations: 129.9 kB / 457.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.2307, allocations: 280 kB / 457.8 MB, free: 41.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.231, allocations: 449.8 kB / 458.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.231, allocations: 0 / 458.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005223/0.2316, allocations: 0.6046 MB / 458.8 MB, free: 40.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2316, allocations: 8.094 kB / 458.8 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.2316, allocations: 6.219 kB / 458.9 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002312/0.2318, allocations: 139.8 kB / 459 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.232, allocations: 86.12 kB / 459.1 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.2334, allocations: 3.435 MB / 462.5 MB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.2335, allocations: 21.83 kB / 462.5 MB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.2336, allocations: 19.56 kB / 462.5 MB, free: 37.95 MB / 410.7 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.000136/0.2337, allocations: 237 kB / 462.8 MB, free: 37.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.2337, allocations: 44.31 kB / 462.8 MB, free: 37.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004721/0.2342, allocations: 0.4974 MB / 463.3 MB, free: 37.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2342, allocations: 3.562 kB / 463.3 MB, free: 37.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003434/0.2345, allocations: 405.6 kB / 463.7 MB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2345, allocations: 10.55 kB / 463.7 MB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007361/0.2353, allocations: 0.9279 MB / 464.7 MB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2353, allocations: 0 / 464.7 MB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.966e-05/0.2354, allocations: 42.11 kB / 464.7 MB, free: 36.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001367/0.2355, allocations: 85.55 kB / 464.8 MB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.2355, allocations: 12.02 kB / 464.8 MB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008479/0.2364, allocations: 1.906 MB / 466.7 MB, free: 35.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2364, allocations: 0 / 466.7 MB, free: 35.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004491/0.2368, allocations: 0.6508 MB / 467.4 MB, free: 34.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.571e-05/0.2369, allocations: 63.8 kB / 467.4 MB, free: 34.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.2369, allocations: 11.28 kB / 467.4 MB, free: 34.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.073e-05/0.237, allocations: 10.61 kB / 467.4 MB, free: 34.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.237, allocations: 20.98 kB / 467.5 MB, free: 34.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.2371, allocations: 13.56 kB / 467.5 MB, free: 34.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001578/0.2372, allocations: 300.9 kB / 467.8 MB, free: 34.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2372, allocations: 0 / 467.8 MB, free: 34.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002829/0.2375, allocations: 124.6 kB / 467.9 MB, free: 34.68 MB / 410.7 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.000555/0.2381, allocations: 1.178 MB / 469.1 MB, free: 33.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005084/0.2386, allocations: 0.5894 MB / 469.7 MB, free: 33.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2386, allocations: 1.188 kB / 469.7 MB, free: 33.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.2388, allocations: 301 kB / 469.9 MB, free: 33.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.2392, allocations: 115.5 kB / 470.1 MB, free: 33.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003351/0.2425, allocations: 4.564 MB / 474.6 MB, free: 30.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001774/0.2427, allocations: 319.9 kB / 474.9 MB, free: 30.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001381/0.2428, allocations: 77.28 kB / 475 MB, free: 30.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.243, allocations: 180.1 kB / 475.2 MB, free: 30.23 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.243, allocations: 0 / 475.2 MB, free: 30.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.2674, allocations: 11.55 MB / 486.7 MB, free: 28.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.093/7.36, allocations: 5.125 kB / 486.7 MB, free: 28.46 MB / 410.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 9.36479833163321] Failed to read output from testmodel.py, exit status != 0: 7.448655977845192 7.456741834 7.231194101 Calling exit ...