Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 183.2 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 225.7 MB / 243.2 MB, free: 8.52 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000825/0.0008249, allocations: 103.6 kB / 294.4 MB, free: 9.52 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2866/0.2866, allocations: 38.12 MB / 383.6 MB, free: 40.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.0003432, allocations: 8 kB / 453.5 MB, free: 8.781 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3594, allocations: 59.14 MB / 0.5006 GB, free: 39.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm): time 0.006402/0.3658, allocations: 5.52 MB / 0.506 GB, free: 38.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003001/0.3689, allocations: 2.141 MB / 0.5081 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000487/0.3694, allocations: 36.22 kB / 0.5081 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003879/0.3698, allocations: 104.2 kB / 0.5082 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006792/0.3705, allocations: 281.3 kB / 0.5085 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003663/0.3709, allocations: 137.2 kB / 0.5086 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001095/0.372, allocations: 0.8786 MB / 0.5095 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005115/0.3725, allocations: 354.3 kB / 0.5098 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004039/0.3729, allocations: 244.5 kB / 0.51 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000415/0.3733, allocations: 277.9 kB / 0.5103 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.062e-05/0.3734, allocations: 24.72 kB / 0.5103 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.818e-05/0.3735, allocations: 23.69 kB / 0.5103 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.3736, allocations: 129.1 kB / 0.5105 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000255/0.3739, allocations: 262.5 kB / 0.5107 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005538/0.3745, allocations: 0.5575 MB / 0.5113 GB, free: 35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3745, allocations: 3 kB / 0.5113 GB, free: 35 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3745, allocations: 0 / 0.5113 GB, free: 35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.3745, allocations: 0 / 0.5113 GB, free: 35 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001121/0.3756, allocations: 0.6987 MB / 0.512 GB, free: 34.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/0.3757, allocations: 9.5 kB / 0.512 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.939e-05/0.3758, allocations: 52.58 kB / 0.512 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005661/0.3764, allocations: 436.7 kB / 0.5124 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-05/0.3765, allocations: 65.73 kB / 0.5125 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-05/0.3765, allocations: 42.66 kB / 0.5125 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007153/0.3773, allocations: 0.4987 MB / 0.513 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.3773, allocations: 7.031 kB / 0.513 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.474e-05/0.3773, allocations: 14.97 kB / 0.513 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.3774, allocations: 11.59 kB / 0.513 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005436/0.3779, allocations: 353.6 kB / 0.5134 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00184/0.3798, allocations: 1.979 MB / 0.5153 GB, free: 32.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003986/0.3802, allocations: 229.7 kB / 0.5155 GB, free: 32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.3804, allocations: 110.1 kB / 0.5156 GB, free: 31.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.3804, allocations: 10.94 kB / 0.5157 GB, free: 31.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.3804, allocations: 34.56 kB / 0.5157 GB, free: 31.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 1.813e-06/0.3804, allocations: 6.531 kB / 0.5157 GB, free: 31.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.001769/0.3822, allocations: 1.08 MB / 0.5167 GB, free: 31.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.3823, allocations: 113 kB / 0.5169 GB, free: 30.99 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003344/0.3826, allocations: 330.2 kB / 0.5172 GB, free: 30.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.3826, allocations: 26.8 kB / 0.5172 GB, free: 30.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.3828, allocations: 265.4 kB / 0.5174 GB, free: 30.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.624e-05/0.3828, allocations: 91.09 kB / 0.5175 GB, free: 30.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.248e-05/0.3828, allocations: 6.188 kB / 0.5175 GB, free: 30.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.058e-05/0.3829, allocations: 348.6 kB / 0.5179 GB, free: 30.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.3831, allocations: 83.83 kB / 0.518 GB, free: 30.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.3834, allocations: 222.7 kB / 0.5182 GB, free: 29.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.3845, allocations: 0.5805 MB / 0.5187 GB, free: 29.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3845, allocations: 1.188 kB / 0.5187 GB, free: 29.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008201/0.3853, allocations: 423.1 kB / 0.5191 GB, free: 29.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.3854, allocations: 7.781 kB / 0.5191 GB, free: 29.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.3854, allocations: 5.031 kB / 0.5192 GB, free: 29.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003207/0.3857, allocations: 77.31 kB / 0.5192 GB, free: 29.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.3859, allocations: 70.45 kB / 0.5193 GB, free: 29.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.3874, allocations: 1.756 MB / 0.521 GB, free: 27.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.3877, allocations: 18.89 kB / 0.521 GB, free: 27.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.3877, allocations: 15.2 kB / 0.521 GB, free: 27.73 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 sytem: $DER.dcm_pm.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000228/0.388, allocations: 195.4 kB / 0.5212 GB, free: 27.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.528e-05/0.388, allocations: 49.62 kB / 0.5213 GB, free: 27.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.738e-05/0.3881, allocations: 36.88 kB / 0.5213 GB, free: 27.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3881, allocations: 3.188 kB / 0.5213 GB, free: 27.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3881, allocations: 7.938 kB / 0.5213 GB, free: 27.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3881, allocations: 4.703 kB / 0.5213 GB, free: 27.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.3891, allocations: 0.789 MB / 0.5221 GB, free: 26.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3891, allocations: 0 / 0.5221 GB, free: 26.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.3894, allocations: 53.14 kB / 0.5221 GB, free: 26.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.238e-05/0.3895, allocations: 27.14 kB / 0.5222 GB, free: 26.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.3895, allocations: 6.594 kB / 0.5222 GB, free: 26.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005474/0.3901, allocations: 1.282 MB / 0.5234 GB, free: 25.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3901, allocations: 0 / 0.5234 GB, free: 25.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005942/0.3907, allocations: 0.5135 MB / 0.5239 GB, free: 25.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.451e-05/0.3908, allocations: 123.9 kB / 0.524 GB, free: 25.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.841e-05/0.3908, allocations: 6.969 kB / 0.5241 GB, free: 25.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.391, allocations: 5.719 kB / 0.5241 GB, free: 25.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/0.3911, allocations: 22.89 kB / 0.5241 GB, free: 25.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.3911, allocations: 14.06 kB / 0.5241 GB, free: 25.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001843/0.3913, allocations: 225.3 kB / 0.5243 GB, free: 25.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3913, allocations: 0 / 0.5243 GB, free: 25.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005383/0.3918, allocations: 92.75 kB / 0.5244 GB, free: 25.01 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (dcm_pm.motor.phi_el,dcm_pm.motor.w_el,dcm_pm.motor.i) * 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 (22): * Single equations (assignments): 20 * Array equations: 0 * 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 9.383e-05/0.3919, allocations: 103.4 kB / 0.5245 GB, free: 24.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006782/0.3926, allocations: 388.4 kB / 0.5249 GB, free: 24.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3926, allocations: 0 / 0.5249 GB, free: 24.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000291/0.3929, allocations: 219.7 kB / 0.5251 GB, free: 24.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006327/0.3936, allocations: 98.66 kB / 0.5252 GB, free: 24.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.3949, allocations: 1.192 MB / 0.5263 GB, free: 23.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.3952, allocations: 0.8448 MB / 0.5272 GB, free: 23.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001947/0.3954, allocations: 58.22 kB / 0.5272 GB, free: 23.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.3955, allocations: 27.12 kB / 0.5272 GB, free: 23.02 MB / 378.7 MB Notification: Performance of SimCode: time 4.3e-07/0.3955, allocations: 0 / 0.5272 GB, free: 23.02 MB / 378.7 MB Notification: Performance of Templates: time 0.007524/0.403, allocations: 4.252 MB / 0.5314 GB, free: 22.69 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe 2>&1)