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.419/1.419, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001313/0.001313, allocations: 176.2 kB / 326.5 MB, free: 2.664 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.642/1.642, allocations: 205 MB / 0.5766 GB, free: 20.97 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.0007751/0.000775, allocations: 89.3 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003223, allocations: 8.875 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2231, allocations: 105.4 MB / 0.8968 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.003979/0.2271, allocations: 4.554 MB / 0.9012 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003087/0.2302, allocations: 2.515 MB / 0.9037 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002722/0.2305, allocations: 19.81 kB / 0.9037 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009218/0.2315, allocations: 362.5 kB / 0.904 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006924/0.2322, allocations: 418 kB / 0.9044 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006664/0.2328, allocations: 336 kB / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007274/0.2336, allocations: 1.128 MB / 0.9058 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004752/0.2341, allocations: 351.2 kB / 0.9062 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000303/0.2344, allocations: 294.5 kB / 0.9065 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003149/0.2347, allocations: 338.5 kB / 0.9068 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.809e-05/0.2348, allocations: 24 kB / 0.9068 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005825/0.2354, allocations: 491 kB / 0.9073 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.2355, allocations: 163.3 kB / 0.9074 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.2357, allocations: 298.2 kB / 0.9077 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006356/0.2364, allocations: 0.8718 MB / 0.9086 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2364, allocations: 3.984 kB / 0.9086 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2364, allocations: 0 / 0.9086 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.2364, allocations: 0 / 0.9086 GB, free: 55.97 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.001007/0.2374, allocations: 0.8257 MB / 0.9094 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.2375, allocations: 11.97 kB / 0.9094 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.2385, allocations: 203.9 kB / 0.9096 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005674/0.2391, allocations: 494.2 kB / 0.9101 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.2392, allocations: 37.36 kB / 0.9101 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.072e-05/0.2392, allocations: 48.36 kB / 0.9101 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008369/0.2401, allocations: 0.8448 MB / 0.911 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.2401, allocations: 7.938 kB / 0.911 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.406e-05/0.2402, allocations: 20 kB / 0.911 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-05/0.2402, allocations: 64.95 kB / 0.9111 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006267/0.2409, allocations: 0.5656 MB / 0.9116 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003058/0.2439, allocations: 5.658 MB / 0.9171 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004905/0.2444, allocations: 462.3 kB / 0.9176 GB, free: 46.13 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/0.2447, allocations: 228.7 kB / 0.9178 GB, free: 45.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.2447, allocations: 4 kB / 0.9178 GB, free: 45.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.2448, allocations: 38.56 kB / 0.9178 GB, free: 45.85 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 2.334e-06/0.2448, allocations: 0 / 0.9178 GB, free: 45.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.002049/0.2468, allocations: 1.509 MB / 0.9193 GB, free: 44.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.2469, allocations: 55.41 kB / 0.9194 GB, free: 44.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003757/0.2472, allocations: 499 kB / 0.9198 GB, free: 43.66 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.2473, allocations: 29.7 kB / 0.9199 GB, free: 43.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.2475, allocations: 354.8 kB / 0.9202 GB, free: 43.28 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.87e-05/0.2475, allocations: 126.3 kB / 0.9203 GB, free: 43.15 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/0.2476, allocations: 53.69 kB / 0.9204 GB, free: 43.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.409e-05/0.2477, allocations: 358.8 kB / 0.9207 GB, free: 42.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.2479, allocations: 201.2 kB / 0.9209 GB, free: 42.54 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003107/0.2482, allocations: 443 kB / 0.9213 GB, free: 41.99 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005862/0.2488, allocations: 0.6877 MB / 0.922 GB, free: 41.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2488, allocations: 4 kB / 0.922 GB, free: 41.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009734/0.2498, allocations: 0.8057 MB / 0.9228 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2499, allocations: 16.05 kB / 0.9228 GB, free: 40.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.2499, allocations: 12 kB / 0.9228 GB, free: 40.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004339/0.2503, allocations: 144.2 kB / 0.923 GB, free: 40.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/0.2507, allocations: 127.7 kB / 0.9231 GB, free: 40.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/0.2529, allocations: 4.032 MB / 0.927 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/0.2533, allocations: 39.91 kB / 0.9271 GB, free: 35.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.2533, allocations: 31.94 kB / 0.9271 GB, free: 35.54 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.000222/0.2536, allocations: 209.7 kB / 0.9273 GB, free: 35.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.03e-05/0.2536, allocations: 63.23 kB / 0.9273 GB, free: 35.26 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008728/0.2545, allocations: 0.6122 MB / 0.9279 GB, free: 34.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.2545, allocations: 0 / 0.9279 GB, free: 34.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2545, allocations: 4 kB / 0.9279 GB, free: 34.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.2547, allocations: 172.2 kB / 0.9281 GB, free: 34.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.3e-05/0.2548, allocations: 4 kB / 0.9281 GB, free: 34.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.255, allocations: 19.97 kB / 0.9281 GB, free: 34.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.2551, allocations: 27.95 kB / 0.9282 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001047/0.2561, allocations: 0.6685 MB / 0.9288 GB, free: 33.7 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007269/0.2569, allocations: 0.83 MB / 0.9296 GB, free: 32.85 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001927/0.2571, allocations: 183.9 kB / 0.9298 GB, free: 32.67 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002438/0.2573, allocations: 330.9 kB / 0.9301 GB, free: 32.35 MB / 0.6042 GB Notification: Performance of Backend: time 3.5e-07/0.2573, allocations: 0 / 0.9301 GB, free: 32.35 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00173/0.2591, allocations: 1.156 MB / 0.9312 GB, free: 31.1 MB / 0.6042 GB Notification: Performance of SimCode: time 0.002019/0.2611, allocations: 1.772 MB / 0.933 GB, free: 29.28 MB / 0.6042 GB Notification: Performance of Templates: time 0.01324/0.2743, allocations: 9.348 MB / 0.9421 GB, free: 20.01 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)