Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.922/1.922, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.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.001583/0.001583, allocations: 171.5 kB / 393.1 MB, free: 4.094 MB / 314.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 1.72/1.72, allocations: 225.7 MB / 0.6743 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008567/0.0008565, allocations: 102.5 kB / 0.7935 GB, free: 40.07 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.0003902, allocations: 8 kB / 0.9224 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7832/0.7836, allocations: 121.3 MB / 1.041 GB, free: 58.21 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004836/0.7885, allocations: 4.295 MB / 1.045 GB, free: 55.32 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004003/0.7926, allocations: 3.869 MB / 1.049 GB, free: 51.86 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004202/0.793, allocations: 23.09 kB / 1.049 GB, free: 51.85 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.7933, allocations: 89.36 kB / 1.049 GB, free: 51.8 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0009653/0.7943, allocations: 416.4 kB / 1.049 GB, free: 51.57 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008332/0.7952, allocations: 347.3 kB / 1.05 GB, free: 51.4 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001031/0.7962, allocations: 1.12 MB / 1.051 GB, free: 50.96 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007788/0.797, allocations: 0.5324 MB / 1.051 GB, free: 50.64 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004003/0.7974, allocations: 297.1 kB / 1.052 GB, free: 50.52 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003964/0.7978, allocations: 330.5 kB / 1.052 GB, free: 50.39 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.878e-05/0.7979, allocations: 25.98 kB / 1.052 GB, free: 50.38 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008088/0.7987, allocations: 479.4 kB / 1.052 GB, free: 50.22 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.7989, allocations: 151.7 kB / 1.053 GB, free: 50.16 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002916/0.7992, allocations: 318.5 kB / 1.053 GB, free: 49.96 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009102/0.8001, allocations: 0.8788 MB / 1.054 GB, free: 49.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.8001, allocations: 1.031 kB / 1.054 GB, free: 49.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8001, allocations: 0 / 1.054 GB, free: 49.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.8001, allocations: 0 / 1.054 GB, free: 49.7 MB / 0.698 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.001152/0.8013, allocations: 0.8278 MB / 1.055 GB, free: 49.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.8013, allocations: 7.688 kB / 1.055 GB, free: 49.05 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.8025, allocations: 205.6 kB / 1.055 GB, free: 49.01 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005774/0.803, allocations: 496.6 kB / 1.055 GB, free: 48.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.8031, allocations: 36.89 kB / 1.055 GB, free: 48.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.242e-05/0.8032, allocations: 43.27 kB / 1.055 GB, free: 48.63 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.8042, allocations: 0.8547 MB / 1.056 GB, free: 48.04 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.8042, allocations: 5.25 kB / 1.056 GB, free: 48.03 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.488e-05/0.8043, allocations: 25.38 kB / 1.056 GB, free: 48.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.8044, allocations: 66.12 kB / 1.056 GB, free: 48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008312/0.8052, allocations: 0.5608 MB / 1.057 GB, free: 47.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004051/0.8093, allocations: 5.646 MB / 1.062 GB, free: 42.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006198/0.8099, allocations: 463.4 kB / 1.063 GB, free: 42.52 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.8102, allocations: 222.7 kB / 1.063 GB, free: 42.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.8103, allocations: 2.875 kB / 1.063 GB, free: 42.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.8103, allocations: 38.56 kB / 1.063 GB, free: 42.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=32): time 3.296e-06/0.8103, allocations: 2.969 kB / 1.063 GB, free: 42.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.002329/0.8126, allocations: 1.505 MB / 1.064 GB, free: 41.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.8127, allocations: 54.78 kB / 1.064 GB, free: 41.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004646/0.8131, allocations: 494.1 kB / 1.065 GB, free: 41.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.8132, allocations: 29.7 kB / 1.065 GB, free: 41.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.8133, allocations: 358.3 kB / 1.065 GB, free: 40.83 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.791e-05/0.8134, allocations: 121.3 kB / 1.065 GB, free: 40.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/0.8135, allocations: 15.25 kB / 1.065 GB, free: 40.72 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.8136, allocations: 369.5 kB / 1.066 GB, free: 40.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.8138, allocations: 193.9 kB / 1.066 GB, free: 40.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000388/0.8142, allocations: 444.9 kB / 1.066 GB, free: 39.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006312/0.8149, allocations: 0.6886 MB / 1.067 GB, free: 39.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.8149, allocations: 7.062 kB / 1.067 GB, free: 39.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001096/0.816, allocations: 0.7973 MB / 1.068 GB, free: 39.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.816, allocations: 12.91 kB / 1.068 GB, free: 39.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.816, allocations: 13.06 kB / 1.068 GB, free: 39.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000484/0.8165, allocations: 152.7 kB / 1.068 GB, free: 38.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00043/0.817, allocations: 122 kB / 1.068 GB, free: 38.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/0.8194, allocations: 4.037 MB / 1.072 GB, free: 34.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003952/0.8198, allocations: 32.67 kB / 1.072 GB, free: 34.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.819e-05/0.8198, allocations: 30.31 kB / 1.072 GB, free: 34.96 MB / 0.698 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 (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002618/0.8201, allocations: 208.9 kB / 1.072 GB, free: 34.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.528e-05/0.8202, allocations: 62.16 kB / 1.072 GB, free: 34.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009809/0.8212, allocations: 0.5993 MB / 1.073 GB, free: 34.49 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.8212, allocations: 5.188 kB / 1.073 GB, free: 34.49 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.8212, allocations: 7.062 kB / 1.073 GB, free: 34.49 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.8212, allocations: 4.641 kB / 1.073 GB, free: 34.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.8229, allocations: 1.257 MB / 1.074 GB, free: 33.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.8229, allocations: 4.594 kB / 1.074 GB, free: 33.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.8231, allocations: 55.78 kB / 1.074 GB, free: 33.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003746/0.8235, allocations: 140.2 kB / 1.074 GB, free: 33.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.8235, allocations: 7.062 kB / 1.074 GB, free: 33.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002276/0.8258, allocations: 4.027 MB / 1.078 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.8258, allocations: 3.25 kB / 1.078 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008458/0.8267, allocations: 0.7055 MB / 1.079 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001955/0.8269, allocations: 174 kB / 1.079 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.464e-05/0.827, allocations: 10.94 kB / 1.079 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.8272, allocations: 24.39 kB / 1.079 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.97e-05/0.8273, allocations: 24.88 kB / 1.079 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.8273, allocations: 17.81 kB / 1.079 GB, free: 29.15 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002971/0.8276, allocations: 325.4 kB / 1.08 GB, free: 29 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8276, allocations: 3.438 kB / 1.08 GB, free: 29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006321/0.8283, allocations: 140.2 kB / 1.08 GB, free: 28.98 MB / 0.698 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 (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001586/0.8284, allocations: 120.4 kB / 1.08 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001262/0.8297, allocations: 1.039 MB / 1.081 GB, free: 28.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.8297, allocations: 0 / 1.081 GB, free: 28.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006955/0.8304, allocations: 0.7353 MB / 1.082 GB, free: 27.55 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.8314, allocations: 198.7 kB / 1.082 GB, free: 27.49 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.8329, allocations: 1.26 MB / 1.083 GB, free: 26.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.8332, allocations: 0.9067 MB / 1.084 GB, free: 25.97 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003145/0.8335, allocations: 112.1 kB / 1.084 GB, free: 25.95 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.605e-05/0.8336, allocations: 46.97 kB / 1.084 GB, free: 25.94 MB / 0.698 GB Notification: Performance of SimCode: time 4.91e-07/0.8336, allocations: 0 / 1.084 GB, free: 25.94 MB / 0.698 GB Notification: Performance of Templates: time 0.01345/0.8471, allocations: 7.268 MB / 1.091 GB, free: 25.45 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)