Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.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.0008167/0.0008167, 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.0008725/0.0008725, 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.8718/0.8718, 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 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.2066/0.2066, allocations: 29.41 MB / 290.1 MB, free: 2.457 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.AC1ph_DC.Drives.BLDCcharSpeed,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_BLDCcharSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_BLDCcharSpeed",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 1.617e-05/1.792e-05, allocations: 2.281 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.005075/0.005093, allocations: 6.076 MB / 436.3 MB, free: 7.488 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002823/0.007916, allocations: 2.508 MB / 438.8 MB, free: 4.973 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003239/0.008239, allocations: 39.69 kB / 438.8 MB, free: 4.934 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008053/0.009045, allocations: 328.7 kB / 439.2 MB, free: 4.613 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009242/0.009969, allocations: 0.6176 MB / 439.8 MB, free: 3.992 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004981/0.01047, allocations: 295.4 kB / 440.1 MB, free: 3.703 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001179/0.01165, allocations: 1.234 MB / 441.3 MB, free: 2.465 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007774/0.01242, allocations: 0.7788 MB / 442.1 MB, free: 1.676 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006564/0.01308, allocations: 0.6781 MB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005402/0.01362, allocations: 486.7 kB / 443.2 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.195e-05/0.01371, allocations: 88 kB / 443.3 MB, free: 444 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004286/0.01414, allocations: 359.4 kB / 443.7 MB, free: 84 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1477/0.1618, allocations: 348.2 kB / 444 MB, free: 45.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003839/0.1622, allocations: 315.4 kB / 444.3 MB, free: 45.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.1633, allocations: 1.401 MB / 445.7 MB, free: 45.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1633, allocations: 0 / 445.7 MB, free: 45.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1633, allocations: 0 / 445.7 MB, free: 45.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.1633, allocations: 0 / 445.7 MB, free: 45.15 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001227/0.1645, allocations: 1.086 MB / 446.8 MB, free: 44.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1646, allocations: 13.08 kB / 446.8 MB, free: 44.6 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.685e-05/0.1647, allocations: 124.3 kB / 446.9 MB, free: 44.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003751/0.165, allocations: 147.8 kB / 447.1 MB, free: 44.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000659/0.1657, allocations: 0.6245 MB / 447.7 MB, free: 44.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.52e-05/0.1658, allocations: 112.1 kB / 447.8 MB, free: 44.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.82e-05/0.1659, allocations: 71.23 kB / 447.9 MB, free: 44.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008017/0.1667, allocations: 0.9601 MB / 448.8 MB, free: 44.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.1667, allocations: 0 / 448.8 MB, free: 44.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.202e-05/0.1667, allocations: 29.34 kB / 448.9 MB, free: 44.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-05/0.1668, allocations: 55.44 kB / 448.9 MB, free: 44.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000733/0.1675, allocations: 0.785 MB / 449.7 MB, free: 44.07 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002355/0.1699, allocations: 3.399 MB / 453.1 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004398/0.1703, allocations: 413.1 kB / 453.5 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.1705, allocations: 227.8 kB / 453.7 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.1706, allocations: 13.86 kB / 453.7 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.1706, allocations: 51.27 kB / 453.8 MB, free: 42.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=37): time 1.683e-06/0.1706, allocations: 0 / 453.8 MB, free: 42.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=55): time 0.00508/0.1757, allocations: 3.39 MB / 457.2 MB, free: 40.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.1757, allocations: 113.8 kB / 457.3 MB, free: 40.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.176, allocations: 0.5392 MB / 457.8 MB, free: 40.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.1761, allocations: 36.83 kB / 457.9 MB, free: 40.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.1762, allocations: 409.5 kB / 458.3 MB, free: 39.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.976e-05/0.1763, allocations: 192.5 kB / 458.5 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.1764, allocations: 135.3 kB / 458.6 MB, free: 39.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.418e-05/0.1764, allocations: 368.6 kB / 459 MB, free: 39.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/0.1767, allocations: 285.8 kB / 459.2 MB, free: 39.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.177, allocations: 0.5092 MB / 459.7 MB, free: 38.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006041/0.1776, allocations: 0.8489 MB / 460.6 MB, free: 38.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1776, allocations: 0 / 460.6 MB, free: 38.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001586/0.1792, allocations: 1.311 MB / 461.9 MB, free: 37.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1792, allocations: 16.7 kB / 461.9 MB, free: 37.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.1792, allocations: 6.438 kB / 461.9 MB, free: 37.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007855/0.18, allocations: 464.8 kB / 462.4 MB, free: 37.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.1802, allocations: 120.6 kB / 462.5 MB, free: 37.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004889/0.1851, allocations: 8.723 MB / 471.2 MB, free: 30.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003238/0.1854, allocations: 35.72 kB / 471.3 MB, free: 30.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.1854, allocations: 25.75 kB / 471.3 MB, free: 30.96 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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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%), (3,8,88.9%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.000279/0.1857, allocations: 313 kB / 471.6 MB, free: 30.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.918e-05/0.1858, allocations: 67.23 kB / 471.7 MB, free: 30.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001478/0.1873, allocations: 1.148 MB / 472.8 MB, free: 30.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1873, allocations: 10.27 kB / 472.8 MB, free: 30.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1873, allocations: 6.688 kB / 472.8 MB, free: 30.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1873, allocations: 3.328 kB / 472.8 MB, free: 30.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002158/0.1894, allocations: 1.985 MB / 474.8 MB, free: 29.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1894, allocations: 3.344 kB / 474.8 MB, free: 29.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.1896, allocations: 63.84 kB / 474.9 MB, free: 29.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006957/0.1903, allocations: 439.5 kB / 475.3 MB, free: 29.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.1903, allocations: 25.02 kB / 475.3 MB, free: 29.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004518/0.1948, allocations: 8.478 MB / 483.8 MB, free: 22.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.1948, allocations: 2.844 kB / 483.8 MB, free: 22.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.1966, allocations: 1.696 MB / 485.5 MB, free: 21.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.1968, allocations: 118.5 kB / 485.6 MB, free: 21.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/0.1969, allocations: 17.62 kB / 485.6 MB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.197, allocations: 20.78 kB / 485.7 MB, free: 21.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.1972, allocations: 59.22 kB / 485.7 MB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.1972, allocations: 16.84 kB / 485.7 MB, free: 21.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002722/0.1974, allocations: 371.9 kB / 486.1 MB, free: 21.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1974, allocations: 64 / 486.1 MB, free: 21.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007334/0.1982, allocations: 260.9 kB / 486.3 MB, free: 21.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (machine.rotor.w,machine.motor.phi_el) * 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,8,88.9%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002131/0.2003, allocations: 2.283 MB / 488.6 MB, free: 20.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.2017, allocations: 1.324 MB / 490 MB, free: 19.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2017, allocations: 0 / 490 MB, free: 19.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000799/0.2025, allocations: 0.9647 MB / 490.9 MB, free: 18.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006055/0.2031, allocations: 181.5 kB / 491.1 MB, free: 18.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007381/0.2105, allocations: 7.333 MB / 498.4 MB, free: 14.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.2108, allocations: 457.8 kB / 498.9 MB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002732/0.2111, allocations: 111.7 kB / 499 MB, free: 14.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.2113, allocations: 267.2 kB / 499.2 MB, free: 14.27 MB / 410.7 MB Notification: Performance of SimCode: time 1.373e-06/0.2113, allocations: 0 / 499.2 MB, free: 14.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03744/0.2488, allocations: 22.82 MB / 0.5098 GB, free: 5.293 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.245/8.494, allocations: 7.922 kB / 0.5098 GB, free: 5.285 MB / 410.7 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_BLDCcharSpeed_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-05 PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_BLDCcharSpeed.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.324197029694915] Failed to read output from testmodel.py, exit status != 0: 8.591422527097166 8.602461285 8.436933717 Calling exit ...