Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.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.BLDCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008917/0.0008918, allocations: 183.2 kB / 16.71 MB, free: 4.973 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.516/1.516, allocations: 225.7 MB / 243.2 MB, free: 8.535 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.0007686/0.0007687, allocations: 104.3 kB / 294.4 MB, free: 9.539 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.3295/0.3295, allocations: 38.12 MB / 383.6 MB, free: 40.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003205, allocations: 8.219 kB / 453.5 MB, free: 8.797 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2906, allocations: 59.13 MB / 0.5006 GB, free: 39.06 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.006882/0.2976, allocations: 6.517 MB / 0.507 GB, free: 37.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004486/0.3021, allocations: 3.557 MB / 0.5104 GB, free: 34.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007093/0.3028, allocations: 46.19 kB / 0.5105 GB, free: 34.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007605/0.3036, allocations: 211.3 kB / 0.5107 GB, free: 34.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.3049, allocations: 0.5374 MB / 0.5112 GB, free: 33.97 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006365/0.3056, allocations: 256.8 kB / 0.5114 GB, free: 33.83 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001743/0.3073, allocations: 1.633 MB / 0.513 GB, free: 33.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009087/0.3083, allocations: 0.9068 MB / 0.5139 GB, free: 32.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004837/0.3088, allocations: 404 kB / 0.5143 GB, free: 32.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000531/0.3093, allocations: 0.5027 MB / 0.5148 GB, free: 32.39 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.159e-05/0.3094, allocations: 39.25 kB / 0.5148 GB, free: 32.39 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004559/0.3099, allocations: 266.8 kB / 0.5151 GB, free: 32.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002077/0.3101, allocations: 281.1 kB / 0.5154 GB, free: 32.23 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003065/0.3104, allocations: 427.4 kB / 0.5158 GB, free: 31.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009672/0.3114, allocations: 1.281 MB / 0.517 GB, free: 31.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3114, allocations: 1.5 kB / 0.517 GB, free: 31.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3114, allocations: 0 / 0.517 GB, free: 31.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.3114, allocations: 4 kB / 0.517 GB, free: 31.62 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001594/0.313, allocations: 0.9918 MB / 0.518 GB, free: 30.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.313, allocations: 8.594 kB / 0.518 GB, free: 30.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005554/0.3136, allocations: 133.4 kB / 0.5181 GB, free: 30.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008805/0.3145, allocations: 0.6693 MB / 0.5188 GB, free: 30.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.818e-05/0.3146, allocations: 77.05 kB / 0.5189 GB, free: 30.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.866e-05/0.3147, allocations: 72.3 kB / 0.5189 GB, free: 30.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.3163, allocations: 0.9506 MB / 0.5199 GB, free: 29.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.615e-05/0.3163, allocations: 6.906 kB / 0.5199 GB, free: 29.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.577e-05/0.3164, allocations: 29.73 kB / 0.5199 GB, free: 29.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001221/0.3166, allocations: 61.73 kB / 0.52 GB, free: 29.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.3183, allocations: 0.7836 MB / 0.5207 GB, free: 29.61 MB / 378.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.005751/0.3241, allocations: 3.872 MB / 0.5245 GB, free: 26.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009983/0.3251, allocations: 0.5151 MB / 0.525 GB, free: 26.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005579/0.3257, allocations: 247.4 kB / 0.5252 GB, free: 26.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.793e-05/0.3258, allocations: 5.375 kB / 0.5252 GB, free: 26.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.3258, allocations: 40.61 kB / 0.5253 GB, free: 26.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 3.296e-06/0.3258, allocations: 0 / 0.5253 GB, free: 26.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=55): time 0.01533/0.3411, allocations: 3.806 MB / 0.529 GB, free: 24.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.3412, allocations: 113.2 kB / 0.5291 GB, free: 24.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008285/0.3421, allocations: 0.5267 MB / 0.5296 GB, free: 24.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.273e-05/0.3421, allocations: 33.7 kB / 0.5297 GB, free: 24.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/0.3424, allocations: 396.4 kB / 0.53 GB, free: 23.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.3426, allocations: 197.7 kB / 0.5302 GB, free: 23.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/0.3427, allocations: 19.41 kB / 0.5302 GB, free: 23.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.3428, allocations: 373.5 kB / 0.5306 GB, free: 23.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006823/0.3435, allocations: 282.2 kB / 0.5309 GB, free: 23.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007917/0.3443, allocations: 0.503 MB / 0.5314 GB, free: 22.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/0.3458, allocations: 0.8464 MB / 0.5322 GB, free: 22.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.3459, allocations: 3 kB / 0.5322 GB, free: 22.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.004655/0.3505, allocations: 1.445 MB / 0.5336 GB, free: 21.44 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.3506, allocations: 9.219 kB / 0.5336 GB, free: 21.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.3506, allocations: 6 kB / 0.5336 GB, free: 21.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002207/0.3528, allocations: 458.8 kB / 0.534 GB, free: 21.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006784/0.3535, allocations: 116.2 kB / 0.5342 GB, free: 21.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008314/0.3619, allocations: 8.465 MB / 0.5424 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006196/0.3625, allocations: 31.5 kB / 0.5425 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-05/0.3626, allocations: 34.34 kB / 0.5425 GB, free: 14.55 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%), (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.0004208/0.363, allocations: 305.3 kB / 0.5428 GB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.3631, allocations: 60.16 kB / 0.5428 GB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002731/0.3658, allocations: 1.305 MB / 0.5441 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3659, allocations: 5.906 kB / 0.5441 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3659, allocations: 7.188 kB / 0.5441 GB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.3659, allocations: 7.172 kB / 0.5441 GB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003716/0.3696, allocations: 2.256 MB / 0.5463 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3696, allocations: 0 / 0.5463 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/0.37, allocations: 64.42 kB / 0.5464 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001249/0.3712, allocations: 455.9 kB / 0.5468 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/0.3713, allocations: 18.78 kB / 0.5468 GB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007483/0.3788, allocations: 8.165 MB / 0.5548 GB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.3789, allocations: 6.953 kB / 0.5548 GB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003557/0.3824, allocations: 1.825 MB / 0.5566 GB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003285/0.3828, allocations: 195.5 kB / 0.5568 GB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.856e-05/0.3829, allocations: 13.77 kB / 0.5568 GB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/0.3833, allocations: 20.33 kB / 0.5568 GB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002806/0.3835, allocations: 64.42 kB / 0.5569 GB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.27e-05/0.3836, allocations: 17.69 kB / 0.5569 GB, free: 4.457 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000465/0.3841, allocations: 368.1 kB / 0.5573 GB, free: 4.285 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3841, allocations: 0 / 0.5573 GB, free: 4.285 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009978/0.3851, allocations: 252.7 kB / 0.5575 GB, free: 4.254 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (machine.motor.phi_el,machine.motor.w_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.0002765/0.3854, allocations: 143.3 kB / 0.5576 GB, free: 4.145 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002052/0.3874, allocations: 1.336 MB / 0.5589 GB, free: 3.336 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.3874, allocations: 1.438 kB / 0.5589 GB, free: 3.336 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.3887, allocations: 0.9684 MB / 0.5599 GB, free: 2.664 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.3898, allocations: 177.8 kB / 0.5601 GB, free: 2.598 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003032/0.3928, allocations: 2.055 MB / 0.5621 GB, free: 1.363 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000848/0.3937, allocations: 1.05 MB / 0.5631 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00052/0.3942, allocations: 111.6 kB / 0.5632 GB, free: 0.582 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.3944, allocations: 44.31 kB / 0.5632 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.3944, allocations: 0 / 0.5632 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of Templates: time 0.02605/0.4205, allocations: 14.26 MB / 0.5772 GB, free: 6.848 MB / 394.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.makefile (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)