Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.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.001118/0.001118, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.00118/0.00118, allocations: 165.4 kB / 24.56 MB, free: 16 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 1.004/1.004, allocations: 177.1 MB / 205 MB, free: 5.277 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.2341/0.2341, allocations: 29.41 MB / 290.9 MB, free: 2.387 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.BLDC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.288e-05, allocations: 2.312 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDC): time 0.006238/0.006261, allocations: 6.375 MB / 376 MB, free: 4.574 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003908/0.01017, allocations: 2.82 MB / 378.8 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005849/0.01075, allocations: 35.69 kB / 378.9 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009266/0.01168, allocations: 278.2 kB / 379.1 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.01323, allocations: 0.8044 MB / 379.9 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006342/0.01386, allocations: 331.3 kB / 380.3 MB, free: 312 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001524/0.01539, allocations: 1.596 MB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/0.01679, allocations: 1.187 MB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/0.01814, allocations: 0.9355 MB / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008726/0.01901, allocations: 0.7053 MB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002147/0.01922, allocations: 140 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.02027, allocations: 0.702 MB / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003855/0.02065, allocations: 0.5339 MB / 386.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004667/0.02112, allocations: 479 kB / 386.5 MB, free: 10 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001698/0.02282, allocations: 1.394 MB / 387.9 MB, free: 8.605 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.02282, allocations: 0 / 387.9 MB, free: 8.605 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.02282, allocations: 0 / 387.9 MB, free: 8.605 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.338e-05/0.02286, allocations: 0 / 387.9 MB, free: 8.605 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: 271 * Number of variables: 271 Notification: Performance of Generate backend data structure: time 0.00233/0.02519, allocations: 1.613 MB / 389.5 MB, free: 6.949 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.02523, allocations: 15.98 kB / 389.6 MB, free: 6.934 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000574/0.0258, allocations: 276 kB / 389.8 MB, free: 6.664 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008812/0.02668, allocations: 0.7727 MB / 390.6 MB, free: 5.863 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/0.02687, allocations: 377.3 kB / 391 MB, free: 5.426 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.02699, allocations: 120 kB / 391.1 MB, free: 5.309 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.02816, allocations: 0.9179 MB / 392 MB, free: 4.305 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.079e-05/0.02819, allocations: 15.92 kB / 392 MB, free: 4.289 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.249e-05/0.02825, allocations: 36 kB / 392.1 MB, free: 4.254 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.151e-05/0.02834, allocations: 73.97 kB / 392.1 MB, free: 4.184 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008421/0.02918, allocations: 491.5 kB / 392.6 MB, free: 3.703 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004409/0.03359, allocations: 4.803 MB / 397.4 MB, free: 14.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000673/0.03426, allocations: 483.4 kB / 397.9 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000304/0.03456, allocations: 220.9 kB / 398.1 MB, free: 14.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.913e-05/0.0346, allocations: 16.64 kB / 398.1 MB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.03463, allocations: 42.05 kB / 398.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 2.073e-06/0.03463, allocations: 0 / 398.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.00277/0.0374, allocations: 1.906 MB / 400.1 MB, free: 12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.03745, allocations: 111.5 kB / 400.2 MB, free: 11.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004315/0.03788, allocations: 0.5609 MB / 400.7 MB, free: 11.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.03792, allocations: 41.7 kB / 400.8 MB, free: 11.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.03817, allocations: 0.5496 MB / 401.3 MB, free: 10.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.03832, allocations: 285.6 kB / 401.6 MB, free: 10.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.03851, allocations: 196.2 kB / 401.8 MB, free: 10.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.03867, allocations: 0.5627 MB / 402.4 MB, free: 9.625 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.03893, allocations: 157.9 kB / 402.5 MB, free: 9.473 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004151/0.03934, allocations: 0.5536 MB / 403.1 MB, free: 8.746 MB / 378.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bldcm.rotor.w = bldcm.rotor.w_start (loadInertia.w_start = bldcm.rotor.w_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.0408, allocations: 1.109 MB / 404.2 MB, free: 7.477 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.0408, allocations: 4 kB / 404.2 MB, free: 7.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001001/0.04181, allocations: 0.8185 MB / 405 MB, free: 6.637 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.04182, allocations: 8 kB / 405 MB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.04184, allocations: 8 kB / 405 MB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000172/0.04201, allocations: 59.28 kB / 405.1 MB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004854/0.04249, allocations: 223.7 kB / 405.3 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.04359, allocations: 1.784 MB / 407.1 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004043/0.04399, allocations: 75.89 kB / 407.1 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.217e-05/0.04405, allocations: 43.98 kB / 407.2 MB, free: 4.309 MB / 378.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: bldcm.rotor.w = bldcm.rotor.w_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,bldcm.inverter.modulator.gates[6],bldcm.inverter.modulator.gates[5],bldcm.inverter.modulator.gates[4],bldcm.inverter.modulator.gates[3],bldcm.inverter.modulator.gates[2],bldcm.inverter.modulator.gates[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 112 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003225/0.04437, allocations: 225.2 kB / 407.4 MB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.04453, allocations: 111.4 kB / 407.5 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007352/0.04526, allocations: 0.5395 MB / 408.1 MB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/0.04528, allocations: 19.98 kB / 408.1 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.04529, allocations: 0 / 408.1 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.0453, allocations: 4 kB / 408.1 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/0.0472, allocations: 1.486 MB / 409.6 MB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.04721, allocations: 3.938 kB / 409.6 MB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/0.04759, allocations: 143.8 kB / 409.7 MB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.961e-05/0.04767, allocations: 23.67 kB / 409.7 MB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/0.04771, allocations: 19.98 kB / 409.7 MB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.04873, allocations: 1.728 MB / 411.5 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.04873, allocations: 0 / 411.5 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.04978, allocations: 0.9841 MB / 412.5 MB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/0.04999, allocations: 159.4 kB / 412.6 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.796e-05/0.05005, allocations: 16.12 kB / 412.6 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.05028, allocations: 43.94 kB / 412.7 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.05039, allocations: 68.48 kB / 412.7 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.05042, allocations: 23.98 kB / 412.8 MB, free: 14.49 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002626/0.05068, allocations: 334.8 kB / 413.1 MB, free: 14.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.05068, allocations: 7.938 kB / 413.1 MB, free: 14.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007148/0.0514, allocations: 255.9 kB / 413.3 MB, free: 13.91 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (efficiency.pav,efficiency.qav,bldcm.motor.i_s[1],bldcm.motor.i_s[2],bldcm.motor.i_s[3],loadInertia.w,frictTorq.phi) * Number of discrete variables: 7 (system.initime,bldcm.inverter.modulator.gates[1],bldcm.inverter.modulator.gates[2],bldcm.inverter.modulator.gates[3],bldcm.inverter.modulator.gates[4],bldcm.inverter.modulator.gates[5],bldcm.inverter.modulator.gates[6]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * Array equations: 1 * 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 {(1,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.0003039/0.0517, allocations: 167 kB / 413.5 MB, free: 13.74 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000964/0.05267, allocations: 0.7258 MB / 414.2 MB, free: 12.99 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.05267, allocations: 4 kB / 414.2 MB, free: 12.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003863/0.05306, allocations: 430.4 kB / 414.7 MB, free: 12.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000552/0.05361, allocations: 174.5 kB / 414.8 MB, free: 12.38 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.05663, allocations: 2.04 MB / 416.9 MB, free: 10.29 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.05682, allocations: 275.5 kB / 417.1 MB, free: 10 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003765/0.0572, allocations: 189.8 kB / 417.3 MB, free: 9.812 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.05735, allocations: 64.48 kB / 417.4 MB, free: 9.75 MB / 394.7 MB Notification: Performance of SimCode: time 1.323e-06/0.05735, allocations: 0 / 417.4 MB, free: 9.75 MB / 394.7 MB Notification: Performance of Templates: time 0.01397/0.07132, allocations: 10.3 MB / 427.7 MB, free: 15.57 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4181786072440445]