Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) 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) 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) Using package Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.46/2.46, allocations: 254.9 MB / 269.9 MB, free: 9.648 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 197.3 kB / 329.5 MB, free: 1.16 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.358/2.358, allocations: 225.6 MB / 0.6001 GB, free: 2.191 MB / 426.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.0009234/0.0009232, allocations: 97.86 kB / 0.7074 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004868/0.0004873, allocations: 11.06 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2122, allocations: 109.1 MB / 0.9308 GB, free: 25.08 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006167/0.2184, allocations: 4.262 MB / 0.9349 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.005244/0.2237, allocations: 2.297 MB / 0.9372 GB, free: 18.49 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007207/0.2245, allocations: 19.81 kB / 0.9372 GB, free: 18.47 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0004488/0.225, allocations: 87.2 kB / 0.9373 GB, free: 18.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001506/0.2265, allocations: 354.1 kB / 0.9376 GB, free: 18.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.2278, allocations: 267.4 kB / 0.9379 GB, free: 17.78 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001578/0.2294, allocations: 0.9835 MB / 0.9388 GB, free: 16.79 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.2307, allocations: 448.2 kB / 0.9393 GB, free: 16.32 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007399/0.2314, allocations: 286.7 kB / 0.9395 GB, free: 16.04 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007194/0.2322, allocations: 326.6 kB / 0.9398 GB, free: 15.72 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.2323, allocations: 20 kB / 0.9399 GB, free: 15.7 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007545/0.2331, allocations: 207.6 kB / 0.9401 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002322/0.2334, allocations: 151.5 kB / 0.9402 GB, free: 15.35 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.2336, allocations: 141.3 kB / 0.9403 GB, free: 15.21 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.2347, allocations: 0.6431 MB / 0.941 GB, free: 14.56 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.2347, allocations: 0 / 0.941 GB, free: 14.56 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.076e-06/0.2347, allocations: 0 / 0.941 GB, free: 14.56 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.437e-05/0.2347, allocations: 0 / 0.941 GB, free: 14.56 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001784/0.2365, allocations: 0.8336 MB / 0.9418 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.2366, allocations: 8.031 kB / 0.9418 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001987/0.2386, allocations: 203.7 kB / 0.942 GB, free: 13.47 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.2397, allocations: 470.8 kB / 0.9424 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.019e-05/0.2398, allocations: 37.36 kB / 0.9425 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.2399, allocations: 52.36 kB / 0.9425 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.2414, allocations: 0.8521 MB / 0.9434 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.877e-05/0.2415, allocations: 3.938 kB / 0.9434 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.843e-05/0.2416, allocations: 20 kB / 0.9434 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001493/0.2418, allocations: 64.95 kB / 0.9434 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.2431, allocations: 0.5578 MB / 0.944 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005758/0.2489, allocations: 5.662 MB / 0.9495 GB, free: 5.195 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009992/0.2499, allocations: 446.8 kB / 0.9499 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004785/0.2505, allocations: 228.7 kB / 0.9502 GB, free: 4.523 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.969e-05/0.2505, allocations: 7.938 kB / 0.9502 GB, free: 4.516 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.2506, allocations: 34.56 kB / 0.9502 GB, free: 4.473 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=32): time 3.717e-06/0.2506, allocations: 0 / 0.9502 GB, free: 4.473 MB / 0.5886 GB Notification: Performance of matching and sorting (n=33): time 0.004093/0.2547, allocations: 1.513 MB / 0.9517 GB, free: 2.848 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.2548, allocations: 51.69 kB / 0.9517 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006968/0.2555, allocations: 491 kB / 0.9522 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.985e-05/0.2556, allocations: 33.7 kB / 0.9522 GB, free: 2.254 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.2558, allocations: 358.8 kB / 0.9526 GB, free: 1.898 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.256, allocations: 122.3 kB / 0.9527 GB, free: 1.777 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.256, allocations: 12 kB / 0.9527 GB, free: 1.766 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2561, allocations: 362.8 kB / 0.953 GB, free: 1.402 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004435/0.2566, allocations: 193.2 kB / 0.9532 GB, free: 1.211 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00055/0.2572, allocations: 443 kB / 0.9536 GB, free: 0.6641 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005742/0.2578, allocations: 271.9 kB / 0.9539 GB, free: 408 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.2578, allocations: 4 kB / 0.9539 GB, free: 404 kB / 0.5886 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002325/0.2601, allocations: 0.802 MB / 0.9547 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.805e-05/0.2602, allocations: 8 kB / 0.9547 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.2602, allocations: 8 kB / 0.9547 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008987/0.2611, allocations: 156.1 kB / 0.9549 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009696/0.2622, allocations: 115.8 kB / 0.955 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005183/0.2674, allocations: 4.059 MB / 0.9589 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007694/0.2682, allocations: 35.91 kB / 0.959 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.189e-05/0.2683, allocations: 28 kB / 0.959 GB, free: 10.75 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004686/0.2688, allocations: 217.6 kB / 0.9592 GB, free: 10.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000197/0.269, allocations: 67.25 kB / 0.9593 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/0.2709, allocations: 0.5932 MB / 0.9598 GB, free: 9.844 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.2709, allocations: 4 kB / 0.9598 GB, free: 9.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.271, allocations: 7.938 kB / 0.9599 GB, free: 9.832 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.271, allocations: 0 / 0.9599 GB, free: 9.832 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003266/0.2742, allocations: 1.251 MB / 0.9611 GB, free: 8.492 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.2743, allocations: 4 kB / 0.9611 GB, free: 8.488 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000556/0.2749, allocations: 55.89 kB / 0.9611 GB, free: 8.434 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007833/0.2757, allocations: 144.3 kB / 0.9613 GB, free: 8.277 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-05/0.2758, allocations: 8 kB / 0.9613 GB, free: 8.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004764/0.2806, allocations: 4.024 MB / 0.9652 GB, free: 3.844 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.2806, allocations: 8.094 kB / 0.9652 GB, free: 3.836 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.2825, allocations: 0.7037 MB / 0.9659 GB, free: 3.078 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004521/0.283, allocations: 172.2 kB / 0.9661 GB, free: 2.891 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.2831, allocations: 8 kB / 0.9661 GB, free: 2.883 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005039/0.2836, allocations: 23.97 kB / 0.9661 GB, free: 2.859 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.2838, allocations: 35.89 kB / 0.9661 GB, free: 2.824 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.774e-05/0.2838, allocations: 12 kB / 0.9661 GB, free: 2.812 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006077/0.2845, allocations: 326.8 kB / 0.9665 GB, free: 2.496 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.81e-07/0.2845, allocations: 0 / 0.9665 GB, free: 2.496 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001064/0.2856, allocations: 144 kB / 0.9666 GB, free: 2.355 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002279/0.2858, allocations: 115.2 kB / 0.9667 GB, free: 2.234 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002477/0.2883, allocations: 1.033 MB / 0.9677 GB, free: 1.121 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.2884, allocations: 0 / 0.9677 GB, free: 1.121 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001468/0.2898, allocations: 0.7395 MB / 0.9684 GB, free: 308 kB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/0.2918, allocations: 188.1 kB / 0.9686 GB, free: 116 kB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/0.2947, allocations: 1.216 MB / 0.9698 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006359/0.2954, allocations: 0.9019 MB / 0.9707 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0007088/0.2961, allocations: 129.1 kB / 0.9708 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.2963, allocations: 39.44 kB / 0.9708 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of SimCode: time 1.583e-06/0.2964, allocations: 0 / 0.9708 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of Templates: time 0.02284/0.3192, allocations: 7.035 MB / 0.9777 GB, free: 6.73 MB / 0.6198 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)