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.0011/0.0011, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.00123/0.00123, allocations: 165 kB / 24.56 MB, free: 8 kB / 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.9615/0.9615, allocations: 177.1 MB / 205 MB, free: 5.59 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.2295/0.2295, allocations: 29.41 MB / 290.9 MB, free: 2.488 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: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.427e-05/3.657e-05, allocations: 5.266 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.006548/0.006584, allocations: 6.009 MB / 375.6 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003989/0.01057, allocations: 2.634 MB / 378.3 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004537/0.01103, allocations: 39.69 kB / 378.3 MB, free: 2.277 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009097/0.01194, allocations: 278.1 kB / 378.6 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.0131, allocations: 0.6099 MB / 379.2 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005465/0.01365, allocations: 307.3 kB / 379.5 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001094/0.01474, allocations: 1.227 MB / 380.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007429/0.01548, allocations: 0.787 MB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006568/0.01614, allocations: 0.6743 MB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005351/0.01668, allocations: 0.4987 MB / 382.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.866e-05/0.01676, allocations: 84 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004503/0.01721, allocations: 355.3 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.01745, allocations: 359.1 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.0177, allocations: 311.3 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009189/0.01862, allocations: 0.9268 MB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.01863, allocations: 0 / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.01863, allocations: 3.938 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.01864, allocations: 0 / 384.7 MB, free: 11.88 MB / 362.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.001627/0.02027, allocations: 1.196 MB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.02031, allocations: 11.98 kB / 385.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005726/0.02088, allocations: 212.2 kB / 386.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007579/0.02164, allocations: 0.6365 MB / 386.8 MB, free: 9.758 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-05/0.02173, allocations: 106 kB / 386.9 MB, free: 9.641 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.001e-05/0.02181, allocations: 80.09 kB / 386.9 MB, free: 9.562 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007628/0.02258, allocations: 0.655 MB / 387.6 MB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.0226, allocations: 0 / 387.6 MB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/0.02264, allocations: 28 kB / 387.6 MB, free: 8.824 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.568e-05/0.02272, allocations: 53.28 kB / 387.7 MB, free: 8.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005249/0.02324, allocations: 339.4 kB / 388 MB, free: 8.438 MB / 362.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.002823/0.02607, allocations: 3.597 MB / 391.6 MB, free: 4.664 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003947/0.02646, allocations: 296.5 kB / 391.9 MB, free: 4.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.02666, allocations: 135 kB / 392 MB, free: 4.195 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.0267, allocations: 15.92 kB / 392 MB, free: 4.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.02673, allocations: 41.33 kB / 392.1 MB, free: 4.129 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 1.803e-06/0.02673, allocations: 4 kB / 392.1 MB, free: 4.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.00488/0.03161, allocations: 2.408 MB / 394.5 MB, free: 1.641 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.03166, allocations: 107.3 kB / 394.6 MB, free: 1.512 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/0.03204, allocations: 0.4906 MB / 395.1 MB, free: 1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.03208, allocations: 37.7 kB / 395.1 MB, free: 0.957 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.03227, allocations: 458.7 kB / 395.6 MB, free: 0.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.03239, allocations: 198.3 kB / 395.8 MB, free: 312 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.03253, allocations: 140.2 kB / 395.9 MB, free: 164 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.03272, allocations: 0.5469 MB / 396.4 MB, free: 15.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.0329, allocations: 117.9 kB / 396.6 MB, free: 15.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003499/0.03325, allocations: 456.8 kB / 397 MB, free: 14.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000581/0.03383, allocations: 0.6164 MB / 397.6 MB, free: 14.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.03384, allocations: 4 kB / 397.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001573/0.03541, allocations: 0.8936 MB / 398.5 MB, free: 13.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.03543, allocations: 8 kB / 398.5 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.03545, allocations: 8 kB / 398.5 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.03667, allocations: 486.4 kB / 399 MB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.0369, allocations: 111.8 kB / 399.1 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005775/0.04268, allocations: 8.346 MB / 407.5 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/0.04302, allocations: 31.98 kB / 407.5 MB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.04306, allocations: 31.98 kB / 407.5 MB, free: 3.711 MB / 378.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.0002562/0.04331, allocations: 200.4 kB / 407.7 MB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.04342, allocations: 71.62 kB / 407.8 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.04476, allocations: 0.7551 MB / 408.5 MB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.04477, allocations: 11.94 kB / 408.6 MB, free: 2.645 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.04477, allocations: 4 kB / 408.6 MB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.04478, allocations: 7.984 kB / 408.6 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/0.04691, allocations: 1.471 MB / 410 MB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.04691, allocations: 8.094 kB / 410.1 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.04709, allocations: 63.89 kB / 410.1 MB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/0.0482, allocations: 462.2 kB / 410.6 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.04824, allocations: 15.98 kB / 410.6 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005525/0.05376, allocations: 8.288 MB / 418.9 MB, free: 7.746 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.05376, allocations: 3.938 kB / 418.9 MB, free: 7.742 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.05549, allocations: 1.168 MB / 420 MB, free: 6.523 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/0.05569, allocations: 111.6 kB / 420.1 MB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.681e-05/0.05573, allocations: 11.98 kB / 420.2 MB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.05591, allocations: 16.11 kB / 420.2 MB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.05608, allocations: 72.19 kB / 420.2 MB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.0561, allocations: 16 kB / 420.3 MB, free: 6.301 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002702/0.05637, allocations: 311 kB / 420.6 MB, free: 5.996 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.05637, allocations: 0 / 420.6 MB, free: 5.996 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001175/0.05755, allocations: 247.9 kB / 420.8 MB, free: 5.754 MB / 394.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.0002897/0.05784, allocations: 139.1 kB / 420.9 MB, free: 5.609 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.0592, allocations: 1.28 MB / 422.2 MB, free: 4.258 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.0592, allocations: 0 / 422.2 MB, free: 4.258 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008838/0.06009, allocations: 1.085 MB / 423.3 MB, free: 3.098 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005468/0.06063, allocations: 146.4 kB / 423.5 MB, free: 2.961 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.06301, allocations: 1.459 MB / 424.9 MB, free: 1.445 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.06323, allocations: 243.5 kB / 425.1 MB, free: 1.188 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002021/0.06344, allocations: 93.19 kB / 425.2 MB, free: 1.094 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.519e-05/0.06351, allocations: 44.48 kB / 425.3 MB, free: 1.051 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/0.06351, allocations: 0 / 425.3 MB, free: 1.051 MB / 394.7 MB Notification: Performance of Templates: time 0.01886/0.08237, allocations: 14.55 MB / 439.8 MB, free: 2.633 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.makefile [Timeout 660] (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 & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.528602717909962]