Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 183.7 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.383/1.383, allocations: 225.7 MB / 243.2 MB, free: 8.496 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.0008742/0.0008746, allocations: 94.84 kB / 294.4 MB, free: 9.508 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.298/0.298, allocations: 38.11 MB / 383.6 MB, free: 40.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002838/0.0002838, allocations: 8 kB / 453.5 MB, free: 8.738 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3102, allocations: 59.14 MB / 0.5006 GB, free: 39.1 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.004678/0.3149, allocations: 4.719 MB / 0.5052 GB, free: 38.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.3172, allocations: 2.424 MB / 0.5076 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002357/0.3175, allocations: 26.81 kB / 0.5076 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.3177, allocations: 59.89 kB / 0.5077 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000511/0.3182, allocations: 226.6 kB / 0.5079 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005606/0.3188, allocations: 223.9 kB / 0.5081 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000775/0.3196, allocations: 0.8559 MB / 0.5089 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008533/0.3204, allocations: 0.8117 MB / 0.5097 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002952/0.3207, allocations: 206.6 kB / 0.5099 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004422/0.3212, allocations: 305.6 kB / 0.5102 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.783e-05/0.3213, allocations: 18.62 kB / 0.5102 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002788/0.3215, allocations: 141.6 kB / 0.5104 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.3218, allocations: 207.1 kB / 0.5106 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002194/0.322, allocations: 246.6 kB / 0.5108 GB, free: 34.87 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000483/0.3225, allocations: 0.5712 MB / 0.5113 GB, free: 34.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3225, allocations: 0 / 0.5113 GB, free: 34.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3225, allocations: 0.8906 kB / 0.5114 GB, free: 34.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.3225, allocations: 0.6562 kB / 0.5114 GB, free: 34.7 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001015/0.3235, allocations: 0.6893 MB / 0.512 GB, free: 34.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3236, allocations: 9.688 kB / 0.512 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005165/0.3241, allocations: 91.69 kB / 0.5121 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004753/0.3246, allocations: 402.9 kB / 0.5125 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.3246, allocations: 28.19 kB / 0.5125 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.3248, allocations: 62.58 kB / 0.5126 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007911/0.3256, allocations: 0.635 MB / 0.5132 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.3256, allocations: 0 / 0.5132 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.261e-05/0.3257, allocations: 25.78 kB / 0.5132 GB, free: 33.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/0.3258, allocations: 30.09 kB / 0.5133 GB, free: 33.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006523/0.3264, allocations: 476.2 kB / 0.5137 GB, free: 33.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002599/0.329, allocations: 3.035 MB / 0.5167 GB, free: 30.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.3293, allocations: 177.3 kB / 0.5169 GB, free: 30.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.3294, allocations: 106.6 kB / 0.517 GB, free: 30.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.3295, allocations: 6.953 kB / 0.517 GB, free: 30.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.3295, allocations: 38.56 kB / 0.517 GB, free: 30.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 1.312e-06/0.3295, allocations: 0 / 0.517 GB, free: 30.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.00123/0.3307, allocations: 0.8318 MB / 0.5178 GB, free: 30.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.3308, allocations: 83.23 kB / 0.5179 GB, free: 30.06 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/0.3311, allocations: 348.6 kB / 0.5182 GB, free: 29.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.3311, allocations: 32.55 kB / 0.5183 GB, free: 29.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.3313, allocations: 305.6 kB / 0.5185 GB, free: 29.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.3313, allocations: 73.3 kB / 0.5186 GB, free: 29.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.727e-05/0.3313, allocations: 11.03 kB / 0.5186 GB, free: 29.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.659e-05/0.3314, allocations: 340.7 kB / 0.5189 GB, free: 29.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.3316, allocations: 125.7 kB / 0.5191 GB, free: 29.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.3319, allocations: 335 kB / 0.5194 GB, free: 28.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004902/0.3324, allocations: 496.9 kB / 0.5199 GB, free: 28.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.3324, allocations: 4.547 kB / 0.5199 GB, free: 28.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008503/0.3332, allocations: 0.5576 MB / 0.5204 GB, free: 28.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3333, allocations: 8.5 kB / 0.5204 GB, free: 28.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004564/0.3337, allocations: 275.6 kB / 0.5207 GB, free: 28.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003125/0.3341, allocations: 87.22 kB / 0.5208 GB, free: 28.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.3344, allocations: 95 kB / 0.5209 GB, free: 28.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/0.3356, allocations: 1.595 MB / 0.5224 GB, free: 26.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.3358, allocations: 16.91 kB / 0.5224 GB, free: 26.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.3358, allocations: 28.98 kB / 0.5225 GB, free: 26.67 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001935/0.336, allocations: 224.7 kB / 0.5227 GB, free: 26.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.3361, allocations: 30.12 kB / 0.5227 GB, free: 26.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003979/0.3365, allocations: 298.2 kB / 0.523 GB, free: 26.35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.3365, allocations: 2.969 kB / 0.523 GB, free: 26.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.3365, allocations: 0 / 0.523 GB, free: 26.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3365, allocations: 3.328 kB / 0.523 GB, free: 26.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000929/0.3374, allocations: 0.7908 MB / 0.5238 GB, free: 25.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3374, allocations: 0 / 0.5238 GB, free: 25.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/0.3377, allocations: 60.23 kB / 0.5238 GB, free: 25.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3377, allocations: 2.719 kB / 0.5238 GB, free: 25.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.3378, allocations: 2.969 kB / 0.5238 GB, free: 25.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.3378, allocations: 3.219 kB / 0.5238 GB, free: 25.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3378, allocations: 0 / 0.5238 GB, free: 25.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004439/0.3382, allocations: 487.1 kB / 0.5243 GB, free: 25.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.951e-05/0.3383, allocations: 111.9 kB / 0.5244 GB, free: 25.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.3383, allocations: 9.891 kB / 0.5244 GB, free: 25.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.3385, allocations: 6.688 kB / 0.5244 GB, free: 25.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.3385, allocations: 18.8 kB / 0.5244 GB, free: 25.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.3385, allocations: 9.781 kB / 0.5244 GB, free: 25.44 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001702/0.3387, allocations: 235.6 kB / 0.5247 GB, free: 25.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3387, allocations: 0 / 0.5247 GB, free: 25.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003904/0.3391, allocations: 97.72 kB / 0.5248 GB, free: 25.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (24): * Single equations (assignments): 23 * 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 0.0001023/0.3392, allocations: 107.2 kB / 0.5249 GB, free: 25.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005907/0.3398, allocations: 438.6 kB / 0.5253 GB, free: 24.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3398, allocations: 2.969 kB / 0.5253 GB, free: 24.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.34, allocations: 108.8 kB / 0.5254 GB, free: 24.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004632/0.3405, allocations: 67.16 kB / 0.5255 GB, free: 24.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.3418, allocations: 1.247 MB / 0.5267 GB, free: 24.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.3421, allocations: 0.8631 MB / 0.5275 GB, free: 23.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000269/0.3424, allocations: 110.5 kB / 0.5276 GB, free: 23.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.439e-05/0.3425, allocations: 34.38 kB / 0.5277 GB, free: 23.4 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.3425, allocations: 0 / 0.5277 GB, free: 23.4 MB / 378.7 MB Notification: Performance of Templates: time 0.006296/0.3488, allocations: 3.346 MB / 0.5309 GB, free: 23.14 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1)