Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 182.4 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.64/1.64, allocations: 225.7 MB / 243.2 MB, free: 10.27 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.0007666/0.0007671, allocations: 98.66 kB / 294.4 MB, free: 9.777 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.3159/0.3159, allocations: 38.13 MB / 383.6 MB, free: 40.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003393, allocations: 8 kB / 453.5 MB, free: 8.871 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3115, allocations: 59.13 MB / 0.5006 GB, free: 39.03 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.004968/0.3165, allocations: 4.665 MB / 0.5052 GB, free: 38.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.3187, allocations: 1.992 MB / 0.5071 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002554/0.3189, allocations: 26.59 kB / 0.5071 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003641/0.3193, allocations: 105.2 kB / 0.5072 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005246/0.3198, allocations: 251.1 kB / 0.5075 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.3201, allocations: 88.69 kB / 0.5076 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007794/0.3209, allocations: 0.6393 MB / 0.5082 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002571/0.3212, allocations: 132 kB / 0.5083 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002492/0.3214, allocations: 170.2 kB / 0.5085 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003171/0.3217, allocations: 203.6 kB / 0.5087 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.277e-05/0.3218, allocations: 16.38 kB / 0.5087 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.594e-05/0.3219, allocations: 18.75 kB / 0.5087 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.322, allocations: 92.56 kB / 0.5088 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.3222, allocations: 195.4 kB / 0.509 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003694/0.3225, allocations: 356.3 kB / 0.5093 GB, free: 36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3226, allocations: 0 / 0.5093 GB, free: 36 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3226, allocations: 0 / 0.5093 GB, free: 36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.3226, allocations: 1.406 kB / 0.5093 GB, free: 36 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008167/0.3234, allocations: 0.5905 MB / 0.5099 GB, free: 35.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.3234, allocations: 14.02 kB / 0.5099 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.132e-05/0.3235, allocations: 48.78 kB / 0.5099 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004834/0.324, allocations: 382 kB / 0.5103 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.324, allocations: 27.81 kB / 0.5103 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.791e-05/0.3241, allocations: 26.73 kB / 0.5104 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000449/0.3246, allocations: 334.3 kB / 0.5107 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.3246, allocations: 0.875 kB / 0.5107 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.3246, allocations: 11.19 kB / 0.5107 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.3246, allocations: 7.156 kB / 0.5107 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003283/0.325, allocations: 207 kB / 0.5109 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.3262, allocations: 1.491 MB / 0.5124 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.3266, allocations: 199.7 kB / 0.5125 GB, free: 33.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.301e-05/0.3267, allocations: 82.92 kB / 0.5126 GB, free: 33.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.3267, allocations: 0 / 0.5126 GB, free: 33.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.3267, allocations: 41.34 kB / 0.5127 GB, free: 33.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.3268, allocations: 0 / 0.5127 GB, free: 33.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.001094/0.3278, allocations: 0.8797 MB / 0.5135 GB, free: 32.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.3279, allocations: 133.6 kB / 0.5136 GB, free: 32.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.3282, allocations: 311.3 kB / 0.5139 GB, free: 32.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.3282, allocations: 32.77 kB / 0.514 GB, free: 32.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.3283, allocations: 226 kB / 0.5142 GB, free: 32.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.999e-05/0.3284, allocations: 58.34 kB / 0.5142 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-06/0.3284, allocations: 4 kB / 0.5142 GB, free: 32.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.88e-05/0.3284, allocations: 348.5 kB / 0.5146 GB, free: 31.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.044e-05/0.3285, allocations: 52.45 kB / 0.5146 GB, free: 31.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.3287, allocations: 161.3 kB / 0.5148 GB, free: 31.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.3289, allocations: 228.9 kB / 0.515 GB, free: 31.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3289, allocations: 0 / 0.515 GB, free: 31.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003121/0.3292, allocations: 261 kB / 0.5153 GB, free: 31.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3292, allocations: 5.531 kB / 0.5153 GB, free: 31.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.3292, allocations: 2.812 kB / 0.5153 GB, free: 31.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3293, allocations: 9.625 kB / 0.5153 GB, free: 31.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/0.3296, allocations: 80.05 kB / 0.5153 GB, free: 31.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005397/0.3301, allocations: 1.275 MB / 0.5166 GB, free: 29.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.3303, allocations: 16.48 kB / 0.5166 GB, free: 29.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.3303, allocations: 15.69 kB / 0.5166 GB, free: 29.9 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.3304, allocations: 167.4 kB / 0.5168 GB, free: 29.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.353e-05/0.3305, allocations: 41.75 kB / 0.5168 GB, free: 29.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/0.3308, allocations: 192.7 kB / 0.517 GB, free: 29.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.3308, allocations: 2.938 kB / 0.517 GB, free: 29.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.3308, allocations: 0 / 0.517 GB, free: 29.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3308, allocations: 2.969 kB / 0.517 GB, free: 29.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005956/0.3314, allocations: 0.551 MB / 0.5175 GB, free: 29.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3314, allocations: 2.875 kB / 0.5176 GB, free: 29.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.3317, allocations: 49.7 kB / 0.5176 GB, free: 29.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3317, allocations: 2.812 kB / 0.5176 GB, free: 29.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.3317, allocations: 2.906 kB / 0.5176 GB, free: 29.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.3317, allocations: 0 / 0.5176 GB, free: 29.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3317, allocations: 2.875 kB / 0.5176 GB, free: 29.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.3321, allocations: 0.4947 MB / 0.5181 GB, free: 28.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.3321, allocations: 108.8 kB / 0.5182 GB, free: 28.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.3321, allocations: 5.344 kB / 0.5182 GB, free: 28.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.3323, allocations: 9.438 kB / 0.5182 GB, free: 28.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.3324, allocations: 14.56 kB / 0.5182 GB, free: 28.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.3324, allocations: 5.094 kB / 0.5182 GB, free: 28.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001712/0.3326, allocations: 224.7 kB / 0.5184 GB, free: 28.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3326, allocations: 0 / 0.5184 GB, free: 28.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003613/0.3329, allocations: 58.62 kB / 0.5185 GB, free: 28.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (motor.phi_el,motor.w_el,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 (21): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.181e-05/0.333, allocations: 110.7 kB / 0.5186 GB, free: 28.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003035/0.3334, allocations: 159 kB / 0.5188 GB, free: 28.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3334, allocations: 4.188 kB / 0.5188 GB, free: 28.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.3335, allocations: 72.02 kB / 0.5188 GB, free: 28.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007144/0.3342, allocations: 92.33 kB / 0.5189 GB, free: 28.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.3357, allocations: 1.044 MB / 0.5199 GB, free: 27.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.336, allocations: 0.8016 MB / 0.5207 GB, free: 26.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000223/0.3363, allocations: 53.83 kB / 0.5208 GB, free: 26.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.214e-05/0.3363, allocations: 28.62 kB / 0.5208 GB, free: 26.96 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3363, allocations: 0 / 0.5208 GB, free: 26.96 MB / 378.7 MB Notification: Performance of Templates: time 0.006396/0.3427, allocations: 3.031 MB / 0.5238 GB, free: 26.72 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe 2>&1)