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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 112 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 180.8 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] 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.1953/0.1953, allocations: 38.52 MB / 346.3 MB, free: 2.152 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002045/0.002045, allocations: 67.89 kB / 484.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3909, allocations: 61.3 MB / 0.533 GB, free: 5.578 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.008756/0.3997, allocations: 6.523 MB / 0.5394 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006472/0.4062, allocations: 2.689 MB / 0.542 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/0.4075, allocations: 39.59 kB / 0.5421 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001942/0.4094, allocations: 345 kB / 0.5424 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002149/0.4116, allocations: 0.6062 MB / 0.543 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009447/0.4125, allocations: 292.3 kB / 0.5433 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002216/0.4147, allocations: 1.208 MB / 0.5444 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/0.4163, allocations: 0.7025 MB / 0.5451 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.4176, allocations: 0.494 MB / 0.5456 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001436/0.4191, allocations: 0.5699 MB / 0.5462 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003255/0.4194, allocations: 86.03 kB / 0.5462 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.4206, allocations: 369.1 kB / 0.5466 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005947/0.4212, allocations: 341.7 kB / 0.5469 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007657/0.4219, allocations: 462.5 kB / 0.5474 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001966/0.4239, allocations: 1.373 MB / 0.5487 GB, free: 10.17 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4239, allocations: 0 / 0.5487 GB, free: 10.17 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4239, allocations: 4 kB / 0.5487 GB, free: 10.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.4239, allocations: 0 / 0.5487 GB, free: 10.16 MB / 398.1 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.002767/0.4267, allocations: 1.099 MB / 0.5498 GB, free: 9.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.4267, allocations: 10.12 kB / 0.5498 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007438/0.4275, allocations: 134.7 kB / 0.5499 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.4289, allocations: 0.6235 MB / 0.5505 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.4291, allocations: 88.72 kB / 0.5506 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.4292, allocations: 67.8 kB / 0.5507 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.4309, allocations: 0.9534 MB / 0.5516 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/0.4309, allocations: 6.281 kB / 0.5516 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.35e-05/0.431, allocations: 22.97 kB / 0.5516 GB, free: 8.082 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/0.4311, allocations: 58.12 kB / 0.5517 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.4326, allocations: 0.7825 MB / 0.5525 GB, free: 7.672 MB / 398.1 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.005797/0.4384, allocations: 3.765 MB / 0.5561 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009091/0.4393, allocations: 428 kB / 0.5565 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004596/0.4397, allocations: 226.5 kB / 0.5568 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.945e-05/0.4398, allocations: 7.984 kB / 0.5568 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.4398, allocations: 42.5 kB / 0.5568 GB, free: 3.379 MB / 398.1 MB Notification: Performance of pre-optimization done (n=37): time 2.615e-06/0.4398, allocations: 0 / 0.5568 GB, free: 3.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=55): time 0.01179/0.4516, allocations: 3.374 MB / 0.5601 GB, free: 15.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.801e-05/0.4517, allocations: 115.2 kB / 0.5602 GB, free: 15.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009064/0.4526, allocations: 0.5299 MB / 0.5607 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.779e-05/0.4526, allocations: 37.7 kB / 0.5608 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/0.453, allocations: 408 kB / 0.5612 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.4532, allocations: 202.3 kB / 0.5614 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.4534, allocations: 130.7 kB / 0.5615 GB, free: 14.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000236/0.4537, allocations: 370.8 kB / 0.5618 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005234/0.4542, allocations: 281.8 kB / 0.5621 GB, free: 13.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007254/0.4549, allocations: 0.5072 MB / 0.5626 GB, free: 13.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.4562, allocations: 0.8442 MB / 0.5634 GB, free: 12.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.4562, allocations: 4 kB / 0.5634 GB, free: 12.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003495/0.4597, allocations: 1.295 MB / 0.5647 GB, free: 10.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.4598, allocations: 8 kB / 0.5647 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/0.4598, allocations: 8 kB / 0.5647 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001695/0.4615, allocations: 455.2 kB / 0.5651 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004788/0.462, allocations: 119.8 kB / 0.5652 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/0.4738, allocations: 8.722 MB / 0.5738 GB, free: 1.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007778/0.4746, allocations: 31.98 kB / 0.5738 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.96e-05/0.4747, allocations: 28 kB / 0.5738 GB, free: 1.121 MB / 414.1 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%), (2,9,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0006191/0.4753, allocations: 317.5 kB / 0.5741 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.4754, allocations: 59.62 kB / 0.5742 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003162/0.4786, allocations: 1.135 MB / 0.5753 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/0.4786, allocations: 8 kB / 0.5753 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.4786, allocations: 4.109 kB / 0.5753 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4786, allocations: 3.938 kB / 0.5753 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004623/0.4832, allocations: 2.051 MB / 0.5773 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.4833, allocations: 4 kB / 0.5773 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003389/0.4836, allocations: 64 kB / 0.5774 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001431/0.485, allocations: 427 kB / 0.5778 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.395e-05/0.4851, allocations: 16 kB / 0.5778 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01115/0.4962, allocations: 8.47 MB / 0.5861 GB, free: 4.016 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.4962, allocations: 4.031 kB / 0.5861 GB, free: 4.012 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004054/0.5003, allocations: 1.688 MB / 0.5877 GB, free: 2.281 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004928/0.5008, allocations: 115.6 kB / 0.5878 GB, free: 2.168 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.054e-05/0.5009, allocations: 16 kB / 0.5878 GB, free: 2.152 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004164/0.5013, allocations: 19.98 kB / 0.5879 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/0.5015, allocations: 52.53 kB / 0.5879 GB, free: 2.082 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-05/0.5016, allocations: 23.92 kB / 0.5879 GB, free: 2.059 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005651/0.5021, allocations: 370.8 kB / 0.5883 GB, free: 1.699 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5021, allocations: 0 / 0.5883 GB, free: 1.699 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001234/0.5034, allocations: 260 kB / 0.5885 GB, free: 1.445 MB / 430.1 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 {(2,9,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003455/0.5037, allocations: 135.1 kB / 0.5887 GB, free: 1.301 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002573/0.5063, allocations: 1.305 MB / 0.5899 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.5063, allocations: 0 / 0.5899 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001509/0.5078, allocations: 0.94 MB / 0.5909 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.5088, allocations: 184.7 kB / 0.591 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003167/0.512, allocations: 1.707 MB / 0.5927 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008608/0.5129, allocations: 1.056 MB / 0.5937 GB, free: 11.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003648/0.5132, allocations: 109.7 kB / 0.5938 GB, free: 11.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.5133, allocations: 47.44 kB / 0.5939 GB, free: 11.78 MB / 446.1 MB Notification: Performance of SimCode: time 1.312e-06/0.5133, allocations: 0 / 0.5939 GB, free: 11.78 MB / 446.1 MB Notification: Performance of Templates: time 0.02979/0.5431, allocations: 15.78 MB / 0.6093 GB, free: 12.1 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.87124047242105] Failed to read output from testmodel.py, exit status != 0: 0.5526765957474709 0.566916744 0.139667329 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fed698c57b0>