Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.372/1.372, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009964/0.0009965, allocations: 171.2 kB / 326.5 MB, free: 2.715 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007326/0.0007326, allocations: 83.91 kB / 0.6803 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002913, allocations: 9.312 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2096, allocations: 105.4 MB / 0.8968 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004143/0.2138, allocations: 4.554 MB / 0.9012 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003061/0.2169, allocations: 2.515 MB / 0.9037 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002739/0.2172, allocations: 23.81 kB / 0.9037 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009264/0.2182, allocations: 362.5 kB / 0.904 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007625/0.2189, allocations: 418 kB / 0.9044 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006446/0.2196, allocations: 334 kB / 0.9047 GB, free: 60 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007121/0.2203, allocations: 1.128 MB / 0.9058 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004759/0.2208, allocations: 355.2 kB / 0.9062 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002858/0.2211, allocations: 298.5 kB / 0.9065 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.2214, allocations: 330.5 kB / 0.9068 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.359e-05/0.2215, allocations: 20 kB / 0.9068 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005864/0.2221, allocations: 498.9 kB / 0.9073 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.2222, allocations: 163.4 kB / 0.9074 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.2224, allocations: 294.2 kB / 0.9077 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004887/0.2229, allocations: 0.6429 MB / 0.9083 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2229, allocations: 4 kB / 0.9083 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2229, allocations: 0 / 0.9083 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.2229, allocations: 0 / 0.9083 GB, free: 56.29 MB / 0.6042 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.0009787/0.2239, allocations: 0.8296 MB / 0.9092 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.224, allocations: 12.03 kB / 0.9092 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.2251, allocations: 195.9 kB / 0.9094 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005201/0.2256, allocations: 0.4943 MB / 0.9098 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.2256, allocations: 33.38 kB / 0.9099 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.211e-05/0.2257, allocations: 48.3 kB / 0.9099 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007869/0.2265, allocations: 0.8487 MB / 0.9107 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.2265, allocations: 7.938 kB / 0.9107 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/0.2266, allocations: 23.98 kB / 0.9108 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.007e-05/0.2267, allocations: 68.95 kB / 0.9108 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006221/0.2273, allocations: 0.5578 MB / 0.9114 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003024/0.2303, allocations: 5.658 MB / 0.9169 GB, free: 46.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005069/0.2308, allocations: 458.3 kB / 0.9173 GB, free: 46.44 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.2311, allocations: 228.7 kB / 0.9176 GB, free: 46.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.2311, allocations: 4 kB / 0.9176 GB, free: 46.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.2312, allocations: 42.56 kB / 0.9176 GB, free: 46.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 2.094e-06/0.2312, allocations: 0 / 0.9176 GB, free: 46.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.002029/0.2332, allocations: 1.501 MB / 0.9191 GB, free: 44.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.2332, allocations: 59.41 kB / 0.9191 GB, free: 44.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003441/0.2336, allocations: 491 kB / 0.9196 GB, free: 43.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.2336, allocations: 37.7 kB / 0.9196 GB, free: 43.94 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.2338, allocations: 362.7 kB / 0.92 GB, free: 43.58 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.236e-05/0.2338, allocations: 118.3 kB / 0.9201 GB, free: 43.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/0.2339, allocations: 49.69 kB / 0.9201 GB, free: 43.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.087e-05/0.234, allocations: 362.8 kB / 0.9205 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.2342, allocations: 197.2 kB / 0.9207 GB, free: 42.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/0.2346, allocations: 447 kB / 0.9211 GB, free: 42.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005621/0.2351, allocations: 0.6915 MB / 0.9218 GB, free: 41.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2351, allocations: 4 kB / 0.9218 GB, free: 41.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009664/0.2361, allocations: 0.8017 MB / 0.9226 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2361, allocations: 8 kB / 0.9226 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.2362, allocations: 12 kB / 0.9226 GB, free: 40.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000434/0.2366, allocations: 156.3 kB / 0.9227 GB, free: 40.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/0.237, allocations: 123.8 kB / 0.9228 GB, free: 40.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/0.2391, allocations: 4.04 MB / 0.9268 GB, free: 35.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/0.2394, allocations: 40.06 kB / 0.9268 GB, free: 35.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.2395, allocations: 32 kB / 0.9269 GB, free: 35.84 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 (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.0002001/0.2397, allocations: 201.6 kB / 0.9271 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.615e-05/0.2397, allocations: 63.25 kB / 0.9271 GB, free: 35.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008025/0.2405, allocations: 0.6083 MB / 0.9277 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2406, allocations: 7.984 kB / 0.9277 GB, free: 34.94 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2406, allocations: 4 kB / 0.9277 GB, free: 34.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.2406, allocations: 3.938 kB / 0.9277 GB, free: 34.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.242, allocations: 1.253 MB / 0.9289 GB, free: 33.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.242, allocations: 0 / 0.9289 GB, free: 33.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.2422, allocations: 55.89 kB / 0.929 GB, free: 33.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003447/0.2426, allocations: 144.4 kB / 0.9291 GB, free: 33.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.2426, allocations: 8 kB / 0.9291 GB, free: 33.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/0.2446, allocations: 4.032 MB / 0.9331 GB, free: 28.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2447, allocations: 3.984 kB / 0.9331 GB, free: 28.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007677/0.2454, allocations: 0.7009 MB / 0.9338 GB, free: 28.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.2456, allocations: 168.3 kB / 0.9339 GB, free: 27.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.255e-05/0.2457, allocations: 11.94 kB / 0.9339 GB, free: 27.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.2459, allocations: 23.97 kB / 0.934 GB, free: 27.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/0.2459, allocations: 31.95 kB / 0.934 GB, free: 27.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.246, allocations: 12 kB / 0.934 GB, free: 27.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002416/0.2462, allocations: 326.9 kB / 0.9343 GB, free: 27.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2462, allocations: 0 / 0.9343 GB, free: 27.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000525/0.2467, allocations: 144 kB / 0.9345 GB, free: 27.46 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 (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.0001289/0.2469, allocations: 111.4 kB / 0.9346 GB, free: 27.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.2479, allocations: 1.037 MB / 0.9356 GB, free: 26.22 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.248, allocations: 0 / 0.9356 GB, free: 26.22 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005863/0.2485, allocations: 0.7406 MB / 0.9363 GB, free: 25.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009527/0.2495, allocations: 194 kB / 0.9365 GB, free: 25.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.2508, allocations: 1.299 MB / 0.9378 GB, free: 23.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.2511, allocations: 0.9058 MB / 0.9386 GB, free: 22.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.2512, allocations: 43.44 kB / 0.9387 GB, free: 22.88 MB / 0.6042 GB Notification: Performance of SimCode: time 7.01e-07/0.2512, allocations: 0 / 0.9387 GB, free: 22.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.01427/0.2655, allocations: 17.92 MB / 0.9562 GB, free: 4.992 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)