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.001533/0.001533, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.00133/0.00133, allocations: 172.8 kB / 25 MB, free: 8.871 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.9823/0.9823, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.2675/0.2675, allocations: 29.42 MB / 291.2 MB, free: 2.406 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.703e-06/1.703e-06, allocations: 0 / 369.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.675e-05, allocations: 2.312 kB / 369.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDC): time 0.007151/0.007178, allocations: 7.221 MB / 376.8 MB, free: 4.035 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004094/0.01127, allocations: 2.82 MB / 379.7 MB, free: 1.207 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000574/0.01185, allocations: 39.69 kB / 379.7 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009521/0.0128, allocations: 369.8 kB / 380.1 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.0144, allocations: 0.8317 MB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006356/0.01503, allocations: 327.3 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001536/0.01657, allocations: 1.6 MB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.01768, allocations: 1.191 MB / 384 MB, free: 12.83 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009527/0.01863, allocations: 0.9275 MB / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007298/0.01936, allocations: 0.7209 MB / 385.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.01949, allocations: 144 kB / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008016/0.0203, allocations: 0.702 MB / 386.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003388/0.02063, allocations: 0.5339 MB / 387 MB, free: 9.797 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003883/0.02102, allocations: 467.1 kB / 387.5 MB, free: 9.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.02238, allocations: 1.402 MB / 388.9 MB, free: 7.934 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.02238, allocations: 0 / 388.9 MB, free: 7.934 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.02238, allocations: 0 / 388.9 MB, free: 7.934 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.02239, allocations: 4 kB / 388.9 MB, free: 7.93 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.001984/0.02438, allocations: 1.609 MB / 390.5 MB, free: 6.277 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.02442, allocations: 11.98 kB / 390.5 MB, free: 6.266 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005956/0.02501, allocations: 280 kB / 390.8 MB, free: 5.992 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009157/0.02593, allocations: 0.7805 MB / 391.6 MB, free: 5.184 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/0.02613, allocations: 377.3 kB / 391.9 MB, free: 4.746 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.02625, allocations: 120 kB / 392.1 MB, free: 4.629 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.02743, allocations: 0.9326 MB / 393 MB, free: 3.613 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/0.02745, allocations: 7.984 kB / 393 MB, free: 3.605 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.001e-05/0.02752, allocations: 40 kB / 393 MB, free: 3.566 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.163e-05/0.02761, allocations: 73.97 kB / 393.1 MB, free: 3.496 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008211/0.02844, allocations: 0.4916 MB / 393.6 MB, free: 3.004 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004084/0.03252, allocations: 4.787 MB / 398.4 MB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007105/0.03323, allocations: 483.9 kB / 398.9 MB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000317/0.03355, allocations: 224 kB / 399.1 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.9e-05/0.03359, allocations: 16.66 kB / 399.1 MB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.03362, allocations: 45.98 kB / 399.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 2.826e-06/0.03362, allocations: 0 / 399.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.00293/0.03655, allocations: 1.901 MB / 401 MB, free: 11.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.0366, allocations: 111.5 kB / 401.1 MB, free: 11.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004717/0.03708, allocations: 0.5688 MB / 401.7 MB, free: 10.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.03711, allocations: 41.7 kB / 401.8 MB, free: 10.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.03737, allocations: 0.5496 MB / 402.3 MB, free: 9.992 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.03753, allocations: 281.7 kB / 402.6 MB, free: 9.715 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.03773, allocations: 196.2 kB / 402.8 MB, free: 9.512 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.03791, allocations: 0.5586 MB / 403.3 MB, free: 8.941 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.03816, allocations: 153.9 kB / 403.5 MB, free: 8.793 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004374/0.0386, allocations: 0.5575 MB / 404 MB, free: 8.062 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.001266/0.03987, allocations: 1.112 MB / 405.2 MB, free: 6.789 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.03987, allocations: 8 kB / 405.2 MB, free: 6.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001051/0.04093, allocations: 0.8063 MB / 406 MB, free: 5.957 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.04095, allocations: 12.88 kB / 406 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.04097, allocations: 8 kB / 406 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001968/0.04116, allocations: 63.33 kB / 406.1 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004716/0.04163, allocations: 223.6 kB / 406.3 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/0.04276, allocations: 1.783 MB / 408.1 MB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005131/0.04327, allocations: 75.92 kB / 408.1 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.55e-05/0.04334, allocations: 39.98 kB / 408.2 MB, free: 3.625 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.00035/0.04369, allocations: 221.2 kB / 408.4 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/0.04389, allocations: 111.4 kB / 408.5 MB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009832/0.04487, allocations: 0.5317 MB / 409 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.432e-05/0.0449, allocations: 23.98 kB / 409 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.0449, allocations: 4 kB / 409 MB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.04491, allocations: 3.984 kB / 409.1 MB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002352/0.04726, allocations: 1.494 MB / 410.5 MB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.04727, allocations: 3.938 kB / 410.6 MB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004974/0.04777, allocations: 143.9 kB / 410.7 MB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.124e-05/0.04786, allocations: 23.56 kB / 410.7 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.945e-05/0.04791, allocations: 23.98 kB / 410.7 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008624/0.04877, allocations: 1.732 MB / 412.5 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.04877, allocations: 4.125 kB / 412.5 MB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.05004, allocations: 0.9879 MB / 413.5 MB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000255/0.0503, allocations: 151.5 kB / 413.6 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.3e-05/0.05037, allocations: 12 kB / 413.6 MB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.05069, allocations: 43.94 kB / 413.7 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.05084, allocations: 72.47 kB / 413.7 MB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.753e-05/0.05087, allocations: 20 kB / 413.8 MB, free: 13.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003218/0.05119, allocations: 334.8 kB / 414.1 MB, free: 13.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05119, allocations: 4 kB / 414.1 MB, free: 13.47 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008511/0.05205, allocations: 259.9 kB / 414.3 MB, free: 13.22 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.000337/0.05238, allocations: 159 kB / 414.5 MB, free: 13.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001145/0.05353, allocations: 0.7279 MB / 415.2 MB, free: 12.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.05353, allocations: 1.875 kB / 415.2 MB, free: 12.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004908/0.05402, allocations: 430.4 kB / 415.6 MB, free: 11.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007357/0.05476, allocations: 173.8 kB / 415.8 MB, free: 11.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003753/0.05851, allocations: 2.028 MB / 417.8 MB, free: 9.617 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.05875, allocations: 279.5 kB / 418.1 MB, free: 9.324 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004837/0.05924, allocations: 193.8 kB / 418.3 MB, free: 9.133 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.05942, allocations: 68.42 kB / 418.4 MB, free: 9.066 MB / 394.7 MB Notification: Performance of SimCode: time 1.123e-06/0.05942, allocations: 0 / 418.4 MB, free: 9.066 MB / 394.7 MB Notification: Performance of Templates: time 0.0159/0.07532, allocations: 9.771 MB / 428.1 MB, free: 15.42 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.613828674890101]