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.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.0008302/0.0008302, 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.0008358/0.0008358, allocations: 174 kB / 23.95 MB, free: 0.6133 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.9306/0.9306, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2229/0.2229, allocations: 29.41 MB / 290.1 MB, free: 2.434 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_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 1.172e-06/1.172e-06, allocations: 0 / 430.2 MB, free: 13.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071e-05/1.188e-05, allocations: 2.281 kB / 430.2 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.007842/0.007854, allocations: 6.762 MB / 437 MB, free: 6.773 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006783/0.01464, allocations: 4.849 MB / 441.8 MB, free: 1.906 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006489/0.01529, allocations: 39.69 kB / 441.9 MB, free: 1.867 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.186/0.2013, allocations: 6.527 MB / 448.4 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001168/0.2025, allocations: 0.5818 MB / 449 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008215/0.2033, allocations: 0.5099 MB / 449.5 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001384/0.2047, allocations: 2.427 MB / 451.9 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005709/0.2053, allocations: 0.8592 MB / 452.8 MB, free: 43.35 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005469/0.2058, allocations: 0.8395 MB / 453.6 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004623/0.2063, allocations: 0.6793 MB / 454.3 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.134e-05/0.2064, allocations: 101.5 kB / 454.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003749/0.2067, allocations: 310.2 kB / 454.7 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002379/0.207, allocations: 0.517 MB / 455.2 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002387/0.2072, allocations: 409.1 kB / 455.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.2082, allocations: 1.648 MB / 457.3 MB, free: 42.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2082, allocations: 0 / 457.3 MB, free: 42.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2082, allocations: 0 / 457.3 MB, free: 42.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.2082, allocations: 0 / 457.3 MB, free: 42.33 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: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.001435/0.2097, allocations: 1.419 MB / 458.7 MB, free: 41.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.2097, allocations: 16.45 kB / 458.7 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001022/0.2098, allocations: 138.4 kB / 458.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004217/0.2102, allocations: 189.1 kB / 459 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009986/0.2112, allocations: 0.8408 MB / 459.9 MB, free: 40.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.004e-05/0.2113, allocations: 61.08 kB / 459.9 MB, free: 40.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.2114, allocations: 93.02 kB / 460 MB, free: 40.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.2126, allocations: 1.258 MB / 461.3 MB, free: 40.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.2126, allocations: 6.969 kB / 461.3 MB, free: 40.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.896e-05/0.2127, allocations: 36.66 kB / 461.3 MB, free: 40.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001202/0.2128, allocations: 88.44 kB / 461.4 MB, free: 40.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.2138, allocations: 0.9983 MB / 462.4 MB, free: 39.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003304/0.2171, allocations: 4.519 MB / 466.9 MB, free: 36.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005996/0.2177, allocations: 0.5378 MB / 467.5 MB, free: 36.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.218, allocations: 336.8 kB / 467.8 MB, free: 36.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.2181, allocations: 10.75 kB / 467.8 MB, free: 36.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003766/0.2184, allocations: 445.5 kB / 468.2 MB, free: 36.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=62): time 1.663e-06/0.2184, allocations: 0 / 468.2 MB, free: 36.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.002412/0.2209, allocations: 2.365 MB / 470.6 MB, free: 35.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.2209, allocations: 111.5 kB / 470.7 MB, free: 35.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005652/0.2215, allocations: 0.7797 MB / 471.5 MB, free: 34.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.2215, allocations: 41.02 kB / 471.5 MB, free: 34.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.2217, allocations: 0.503 MB / 472 MB, free: 34.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.2218, allocations: 255.3 kB / 472.3 MB, free: 34.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.222, allocations: 177.2 kB / 472.4 MB, free: 33.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.987e-05/0.2221, allocations: 408.7 kB / 472.8 MB, free: 33.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003582/0.2224, allocations: 370.3 kB / 473.2 MB, free: 33.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004636/0.2229, allocations: 0.6828 MB / 473.9 MB, free: 33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008134/0.2237, allocations: 1.059 MB / 474.9 MB, free: 32.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.2237, allocations: 2.906 kB / 474.9 MB, free: 32.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001507/0.2252, allocations: 1.538 MB / 476.5 MB, free: 31.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.2252, allocations: 11.56 kB / 476.5 MB, free: 31.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.2252, allocations: 6.906 kB / 476.5 MB, free: 31.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007703/0.226, allocations: 487.4 kB / 477 MB, free: 31.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/0.2263, allocations: 176 kB / 477.2 MB, free: 31.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005265/0.2316, allocations: 6.809 MB / 484 MB, free: 27.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.2319, allocations: 44.77 kB / 484 MB, free: 27.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.967e-05/0.232, allocations: 46.64 kB / 484.1 MB, free: 27.3 MB / 410.7 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.0003481/0.2323, allocations: 351.5 kB / 484.4 MB, free: 27.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.01e-05/0.2324, allocations: 92.61 kB / 484.5 MB, free: 27.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.2335, allocations: 0.966 MB / 485.5 MB, free: 26.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2335, allocations: 6.656 kB / 485.5 MB, free: 26.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2335, allocations: 2.281 kB / 485.5 MB, free: 26.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.2335, allocations: 12.45 kB / 485.5 MB, free: 26.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002154/0.2356, allocations: 1.846 MB / 487.3 MB, free: 25.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2356, allocations: 1.375 kB / 487.3 MB, free: 25.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003968/0.236, allocations: 124.1 kB / 487.4 MB, free: 25.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003182/0.2364, allocations: 160.2 kB / 487.6 MB, free: 25.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/0.2364, allocations: 29.11 kB / 487.6 MB, free: 25.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/0.2385, allocations: 4.479 MB / 492.1 MB, free: 21.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2385, allocations: 3.438 kB / 492.1 MB, free: 21.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.2401, allocations: 1.38 MB / 493.5 MB, free: 21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.2403, allocations: 147.1 kB / 493.6 MB, free: 20.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/0.2404, allocations: 18.62 kB / 493.6 MB, free: 20.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.2406, allocations: 33.34 kB / 493.7 MB, free: 20.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.2407, allocations: 57.28 kB / 493.7 MB, free: 20.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/0.2408, allocations: 22.61 kB / 493.8 MB, free: 20.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005185/0.2413, allocations: 0.5202 MB / 494.3 MB, free: 20.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2413, allocations: 0 / 494.3 MB, free: 20.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007653/0.242, allocations: 275.6 kB / 494.5 MB, free: 20.64 MB / 410.7 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.00275/0.2448, allocations: 2.329 MB / 496.9 MB, free: 19.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001746/0.2465, allocations: 1.288 MB / 498.2 MB, free: 18.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2465, allocations: 0 / 498.2 MB, free: 18.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007332/0.2473, allocations: 0.758 MB / 498.9 MB, free: 18.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006593/0.2479, allocations: 219.3 kB / 499.1 MB, free: 18.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.258, allocations: 9.424 MB / 0.4966 GB, free: 13.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005381/0.2586, allocations: 0.5439 MB / 0.4972 GB, free: 13.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004789/0.2591, allocations: 238.7 kB / 0.4974 GB, free: 13.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003312/0.2594, allocations: 371.3 kB / 0.4978 GB, free: 12.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/0.2594, allocations: 1.375 kB / 0.4978 GB, free: 12.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03733/0.2967, allocations: 25.47 MB / 0.5226 GB, free: 7.812 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.543/8.84, allocations: 3.938 kB / 0.5226 GB, free: 7.809 MB / 426.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.05 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: 10.985349808819592] Failed to read output from testmodel.py, exit status != 0: 8.95984107349068 8.967269734 8.757406016 Calling exit ...