Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.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.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008921/0.0008922, allocations: 180.5 kB / 16.71 MB, free: 4.84 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.471/1.471, allocations: 225.7 MB / 243.2 MB, free: 8.465 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.001003/0.001003, allocations: 93.67 kB / 294.4 MB, free: 9.5 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.315/0.315, allocations: 38.13 MB / 383.6 MB, free: 40.29 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003164, allocations: 8 kB / 453.5 MB, free: 8.777 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3372, allocations: 59.13 MB / 0.5006 GB, free: 38.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.007184/0.3444, allocations: 5.491 MB / 0.506 GB, free: 37.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008729/0.3532, allocations: 5.769 MB / 0.5116 GB, free: 33.22 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008796/0.3541, allocations: 33.69 kB / 0.5116 GB, free: 33.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009075/0.3632, allocations: 4.58 MB / 0.5161 GB, free: 32.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001236/0.3645, allocations: 314 kB / 0.5164 GB, free: 31.92 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005542/0.3651, allocations: 199.7 kB / 0.5166 GB, free: 31.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002222/0.3673, allocations: 2.066 MB / 0.5186 GB, free: 31.22 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009908/0.3683, allocations: 0.8334 MB / 0.5194 GB, free: 30.64 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004396/0.3688, allocations: 301.8 kB / 0.5197 GB, free: 30.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004777/0.3692, allocations: 402.5 kB / 0.5201 GB, free: 30.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.462e-05/0.3693, allocations: 25.44 kB / 0.5201 GB, free: 30.38 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.3695, allocations: 36.97 kB / 0.5202 GB, free: 30.38 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.3696, allocations: 214.5 kB / 0.5204 GB, free: 30.31 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.3699, allocations: 317 kB / 0.5207 GB, free: 30.11 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000546/0.3704, allocations: 0.7556 MB / 0.5214 GB, free: 29.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3704, allocations: 0 / 0.5214 GB, free: 29.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3705, allocations: 0 / 0.5214 GB, free: 29.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.3705, allocations: 0 / 0.5214 GB, free: 29.89 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001238/0.3717, allocations: 0.7565 MB / 0.5221 GB, free: 29.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.3718, allocations: 11.84 kB / 0.5221 GB, free: 29.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002599/0.372, allocations: 68.56 kB / 0.5222 GB, free: 29.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007931/0.3728, allocations: 0.5551 MB / 0.5228 GB, free: 28.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.725e-05/0.3729, allocations: 33.98 kB / 0.5228 GB, free: 28.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.886e-05/0.373, allocations: 40.97 kB / 0.5228 GB, free: 28.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008045/0.3738, allocations: 0.6319 MB / 0.5234 GB, free: 28.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.3738, allocations: 10.78 kB / 0.5235 GB, free: 28.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.084e-05/0.3739, allocations: 18.55 kB / 0.5235 GB, free: 28.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.374, allocations: 45.3 kB / 0.5235 GB, free: 28.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000589/0.3746, allocations: 465.9 kB / 0.524 GB, free: 28.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.377, allocations: 2.53 MB / 0.5264 GB, free: 26.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/0.3774, allocations: 287.4 kB / 0.5267 GB, free: 26.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.3775, allocations: 142 kB / 0.5268 GB, free: 26.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.3776, allocations: 3.25 kB / 0.5268 GB, free: 26.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.3776, allocations: 42.14 kB / 0.5269 GB, free: 26.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.384e-06/0.3776, allocations: 4 kB / 0.5269 GB, free: 26.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.00285/0.3805, allocations: 1.872 MB / 0.5287 GB, free: 25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.3805, allocations: 80.05 kB / 0.5288 GB, free: 24.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003692/0.3809, allocations: 408 kB / 0.5292 GB, free: 24.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.3809, allocations: 36.61 kB / 0.5292 GB, free: 24.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.3811, allocations: 300.4 kB / 0.5295 GB, free: 24.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.75e-05/0.3811, allocations: 114.5 kB / 0.5296 GB, free: 24.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.67e-05/0.3812, allocations: 10.81 kB / 0.5296 GB, free: 24.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.184e-05/0.3813, allocations: 359.9 kB / 0.53 GB, free: 23.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.3814, allocations: 136.9 kB / 0.5301 GB, free: 23.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.3817, allocations: 276.6 kB / 0.5304 GB, free: 23.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004305/0.3821, allocations: 448.7 kB / 0.5308 GB, free: 23.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.3821, allocations: 2.906 kB / 0.5308 GB, free: 23.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008755/0.383, allocations: 0.6799 MB / 0.5315 GB, free: 23.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.383, allocations: 12.25 kB / 0.5315 GB, free: 23.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.383, allocations: 3.219 kB / 0.5315 GB, free: 23.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003924/0.3834, allocations: 151.2 kB / 0.5316 GB, free: 22.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/0.3837, allocations: 77.56 kB / 0.5317 GB, free: 22.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/0.3861, allocations: 3.389 MB / 0.535 GB, free: 20.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.3863, allocations: 21.67 kB / 0.535 GB, free: 20 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.3864, allocations: 28.34 kB / 0.535 GB, free: 19.99 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (43): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002782/0.3867, allocations: 231.5 kB / 0.5353 GB, free: 19.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.129e-05/0.3867, allocations: 49.25 kB / 0.5353 GB, free: 19.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000794/0.3875, allocations: 0.571 MB / 0.5359 GB, free: 19.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.3875, allocations: 2.906 kB / 0.5359 GB, free: 19.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0006004/0.3882, allocations: 0.4931 MB / 0.5364 GB, free: 19.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3882, allocations: 0 / 0.5364 GB, free: 19.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.3894, allocations: 1.015 MB / 0.5373 GB, free: 18.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3894, allocations: 3.281 kB / 0.5373 GB, free: 18.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.3896, allocations: 49.73 kB / 0.5374 GB, free: 18.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002493/0.3899, allocations: 90.06 kB / 0.5375 GB, free: 18.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.3899, allocations: 6.875 kB / 0.5375 GB, free: 18.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/0.3914, allocations: 1.877 MB / 0.5393 GB, free: 16.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3914, allocations: 3.938 kB / 0.5393 GB, free: 16.97 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007768/0.3922, allocations: 0.6517 MB / 0.54 GB, free: 16.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.3923, allocations: 141.2 kB / 0.5401 GB, free: 16.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/0.3924, allocations: 7.25 kB / 0.5401 GB, free: 16.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.3926, allocations: 7.406 kB / 0.5401 GB, free: 16.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.3926, allocations: 27.53 kB / 0.5401 GB, free: 16.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.3926, allocations: 6.562 kB / 0.5401 GB, free: 16.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002861/0.3929, allocations: 297.5 kB / 0.5404 GB, free: 16.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3929, allocations: 4.062 kB / 0.5404 GB, free: 16.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005435/0.3935, allocations: 121.8 kB / 0.5405 GB, free: 16.29 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (asm.motor.phi_el,asm.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 (23): * Single equations (assignments): 21 * 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 {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000161/0.3937, allocations: 110.2 kB / 0.5406 GB, free: 16.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.3947, allocations: 0.6092 MB / 0.5412 GB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3947, allocations: 0 / 0.5412 GB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004039/0.3951, allocations: 315.9 kB / 0.5415 GB, free: 15.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007166/0.3958, allocations: 102.2 kB / 0.5416 GB, free: 15.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.3975, allocations: 1.41 MB / 0.543 GB, free: 14.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.3979, allocations: 0.921 MB / 0.5439 GB, free: 13.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002453/0.3981, allocations: 74.64 kB / 0.544 GB, free: 13.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.533e-05/0.3982, allocations: 36.03 kB / 0.544 GB, free: 13.96 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.3982, allocations: 3.938 kB / 0.544 GB, free: 13.96 MB / 378.7 MB Notification: Performance of Templates: time 0.01214/0.4104, allocations: 5.347 MB / 0.5492 GB, free: 13.57 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1)