Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008747/0.0008748, allocations: 182.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.332/1.332, allocations: 225.7 MB / 243.2 MB, free: 8.453 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.0007644/0.0007642, allocations: 95.81 kB / 294.4 MB, free: 9.496 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.2942/0.2942, allocations: 38.12 MB / 383.6 MB, free: 40.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004272/0.0004272, allocations: 11.98 kB / 453.5 MB, free: 8.789 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.4165, allocations: 59.13 MB / 0.5006 GB, free: 38.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.004431/0.4209, allocations: 4.245 MB / 0.5047 GB, free: 38.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.4226, allocations: 1.284 MB / 0.506 GB, free: 37.65 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.4228, allocations: 26.25 kB / 0.506 GB, free: 37.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.423, allocations: 33.45 kB / 0.5061 GB, free: 37.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004104/0.4234, allocations: 153.7 kB / 0.5062 GB, free: 37.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.4236, allocations: 84.53 kB / 0.5063 GB, free: 37.49 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000599/0.4242, allocations: 0.5226 MB / 0.5068 GB, free: 37.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002378/0.4245, allocations: 103.1 kB / 0.5069 GB, free: 37.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.4247, allocations: 146.5 kB / 0.507 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003099/0.425, allocations: 182.1 kB / 0.5072 GB, free: 37.15 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.4251, allocations: 10.41 kB / 0.5072 GB, free: 37.15 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.312e-05/0.4251, allocations: 10.28 kB / 0.5072 GB, free: 37.15 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.4252, allocations: 78.78 kB / 0.5073 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.4254, allocations: 158.2 kB / 0.5074 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.4257, allocations: 275.5 kB / 0.5077 GB, free: 36.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4257, allocations: 0 / 0.5077 GB, free: 36.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4257, allocations: 0 / 0.5077 GB, free: 36.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.4257, allocations: 4.375 kB / 0.5077 GB, free: 36.92 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007798/0.4265, allocations: 0.539 MB / 0.5082 GB, free: 36.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.4266, allocations: 8.938 kB / 0.5083 GB, free: 36.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.449e-05/0.4266, allocations: 34.31 kB / 0.5083 GB, free: 36.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003808/0.427, allocations: 324.6 kB / 0.5086 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.4271, allocations: 18.09 kB / 0.5086 GB, free: 36.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.4271, allocations: 22.66 kB / 0.5086 GB, free: 36.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004342/0.4276, allocations: 288.1 kB / 0.5089 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.4276, allocations: 0 / 0.5089 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.4276, allocations: 12.62 kB / 0.5089 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.4276, allocations: 9.891 kB / 0.5089 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002995/0.4279, allocations: 178.2 kB / 0.5091 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.4291, allocations: 1.234 MB / 0.5103 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.4294, allocations: 116 kB / 0.5104 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.84e-05/0.4295, allocations: 42.97 kB / 0.5105 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.4296, allocations: 1.344 kB / 0.5105 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.4296, allocations: 38.31 kB / 0.5105 GB, free: 34.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.4296, allocations: 0 / 0.5105 GB, free: 34.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007996/0.4304, allocations: 491.4 kB / 0.511 GB, free: 34.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.4304, allocations: 80.61 kB / 0.511 GB, free: 34.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.4307, allocations: 241.2 kB / 0.5113 GB, free: 34.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.4307, allocations: 26.86 kB / 0.5113 GB, free: 34.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.908e-05/0.4308, allocations: 198.7 kB / 0.5115 GB, free: 33.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.4308, allocations: 43.89 kB / 0.5115 GB, free: 33.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.826e-06/0.4308, allocations: 9.656 kB / 0.5115 GB, free: 33.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.249e-05/0.4309, allocations: 336.5 kB / 0.5119 GB, free: 33.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.292e-05/0.431, allocations: 34.17 kB / 0.5119 GB, free: 33.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.762e-05/0.4311, allocations: 134.2 kB / 0.512 GB, free: 33.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.4313, allocations: 189.3 kB / 0.5122 GB, free: 33.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.4313, allocations: 0 / 0.5122 GB, free: 33.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002449/0.4315, allocations: 209.7 kB / 0.5124 GB, free: 33.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.4316, allocations: 7.469 kB / 0.5124 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.4316, allocations: 5.969 kB / 0.5124 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.4316, allocations: 3.188 kB / 0.5124 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.4318, allocations: 48.94 kB / 0.5125 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.4318, allocations: 9.156 kB / 0.5125 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.4319, allocations: 11.06 kB / 0.5125 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.4319, allocations: 13.47 kB / 0.5125 GB, free: 33.1 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001219/0.432, allocations: 154.7 kB / 0.5126 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.4321, allocations: 26.16 kB / 0.5127 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.4323, allocations: 129.8 kB / 0.5128 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.4323, allocations: 2.094 kB / 0.5128 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4323, allocations: 1.125 kB / 0.5128 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.4323, allocations: 3.938 kB / 0.5128 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/0.4328, allocations: 484.1 kB / 0.5133 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4328, allocations: 0 / 0.5133 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.4329, allocations: 20.62 kB / 0.5133 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.4329, allocations: 6.969 kB / 0.5133 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.4329, allocations: 7.938 kB / 0.5133 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.4329, allocations: 6.922 kB / 0.5133 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.433, allocations: 3.328 kB / 0.5133 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.4332, allocations: 270.2 kB / 0.5136 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.4333, allocations: 102 kB / 0.5137 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.4333, allocations: 10.72 kB / 0.5137 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.469e-05/0.4334, allocations: 0 / 0.5137 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.309e-05/0.4334, allocations: 13 kB / 0.5137 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.4334, allocations: 2.844 kB / 0.5137 GB, free: 32.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001059/0.4335, allocations: 173.1 kB / 0.5138 GB, free: 32.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4336, allocations: 0 / 0.5138 GB, free: 32.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002847/0.4338, allocations: 42.78 kB / 0.5139 GB, free: 32.05 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.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 (13): * Single equations (assignments): 12 * 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.288e-05/0.4339, allocations: 111.5 kB / 0.514 GB, free: 31.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.4341, allocations: 105.7 kB / 0.5141 GB, free: 31.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4341, allocations: 0 / 0.5141 GB, free: 31.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.439e-05/0.4342, allocations: 46.19 kB / 0.5141 GB, free: 31.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.4347, allocations: 61.12 kB / 0.5142 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008002/0.4355, allocations: 0.6903 MB / 0.5149 GB, free: 31.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.4357, allocations: 0.7744 MB / 0.5156 GB, free: 30.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.4358, allocations: 27.92 kB / 0.5157 GB, free: 30.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.535e-05/0.4359, allocations: 21.47 kB / 0.5157 GB, free: 30.69 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4359, allocations: 0 / 0.5157 GB, free: 30.69 MB / 378.7 MB Notification: Performance of Templates: time 0.004701/0.4406, allocations: 1.9 MB / 0.5175 GB, free: 30.51 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1)