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.364/1.364, allocations: 252 MB / 268 MB, free: 10.86 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.000931/0.0009308, allocations: 187.9 kB / 327.6 MB, free: 2.098 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.55/1.55, allocations: 205.4 MB / 0.5786 GB, free: 20.12 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.0007745/0.0007746, allocations: 87.69 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003356, allocations: 12.03 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2024, allocations: 106.3 MB / 0.9015 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004062/0.2065, allocations: 4.487 MB / 0.9058 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003219/0.2098, allocations: 2.476 MB / 0.9083 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003325/0.2101, allocations: 19.81 kB / 0.9083 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002465/0.2104, allocations: 91.2 kB / 0.9084 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008085/0.2112, allocations: 410 kB / 0.9088 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006577/0.2119, allocations: 341.1 kB / 0.9091 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007387/0.2126, allocations: 1.124 MB / 0.9102 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006512/0.2133, allocations: 476.2 kB / 0.9106 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002969/0.2136, allocations: 294.6 kB / 0.9109 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003238/0.2139, allocations: 334.4 kB / 0.9112 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.497e-05/0.214, allocations: 20 kB / 0.9113 GB, free: 53.4 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000691/0.2147, allocations: 495 kB / 0.9117 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.2148, allocations: 167.5 kB / 0.9119 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002282/0.2151, allocations: 323.9 kB / 0.9122 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005409/0.2156, allocations: 0.6509 MB / 0.9128 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2156, allocations: 0 / 0.9128 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2156, allocations: 7.984 kB / 0.9128 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.2156, allocations: 0 / 0.9128 GB, free: 51.77 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.001036/0.2167, allocations: 0.8224 MB / 0.9136 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.2167, allocations: 12.03 kB / 0.9137 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.2179, allocations: 203.8 kB / 0.9138 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005697/0.2185, allocations: 494.3 kB / 0.9143 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.2185, allocations: 29.38 kB / 0.9143 GB, free: 50.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.806e-05/0.2186, allocations: 48.3 kB / 0.9144 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008223/0.2194, allocations: 0.8448 MB / 0.9152 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.2195, allocations: 7.938 kB / 0.9152 GB, free: 49.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.205e-05/0.2195, allocations: 23.98 kB / 0.9152 GB, free: 49.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.053e-05/0.2196, allocations: 72.95 kB / 0.9153 GB, free: 49 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006743/0.2203, allocations: 0.5617 MB / 0.9159 GB, free: 48.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002996/0.2233, allocations: 5.654 MB / 0.9214 GB, free: 42.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005263/0.2238, allocations: 469.3 kB / 0.9218 GB, free: 41.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.2241, allocations: 224.7 kB / 0.922 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.2241, allocations: 8 kB / 0.9221 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.2242, allocations: 34.56 kB / 0.9221 GB, free: 41.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 3.126e-06/0.2242, allocations: 0 / 0.9221 GB, free: 41.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.00217/0.2264, allocations: 1.513 MB / 0.9236 GB, free: 40.03 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.2264, allocations: 55.41 kB / 0.9236 GB, free: 39.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003832/0.2268, allocations: 498.9 kB / 0.9241 GB, free: 39.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.2268, allocations: 33.7 kB / 0.9241 GB, free: 39.42 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.227, allocations: 346.8 kB / 0.9245 GB, free: 39.08 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.152e-05/0.227, allocations: 122.3 kB / 0.9246 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.172e-05/0.2271, allocations: 12 kB / 0.9246 GB, free: 38.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.355e-05/0.2272, allocations: 374.8 kB / 0.9249 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.2274, allocations: 189.2 kB / 0.9251 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.2277, allocations: 447 kB / 0.9256 GB, free: 37.83 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006384/0.2284, allocations: 0.6876 MB / 0.9262 GB, free: 37.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2284, allocations: 4 kB / 0.9262 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001098/0.2295, allocations: 0.8058 MB / 0.927 GB, free: 36.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.2295, allocations: 8 kB / 0.927 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.2296, allocations: 8 kB / 0.927 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004677/0.23, allocations: 160.1 kB / 0.9272 GB, free: 36.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/0.2305, allocations: 123.8 kB / 0.9273 GB, free: 35.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/0.2328, allocations: 4.04 MB / 0.9312 GB, free: 31.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004078/0.2332, allocations: 31.97 kB / 0.9313 GB, free: 31.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.2333, allocations: 28 kB / 0.9313 GB, free: 31.39 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.0002376/0.2335, allocations: 221.6 kB / 0.9315 GB, free: 31.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.935e-05/0.2336, allocations: 63.25 kB / 0.9316 GB, free: 31.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008834/0.2345, allocations: 0.6044 MB / 0.9322 GB, free: 30.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.2345, allocations: 4 kB / 0.9322 GB, free: 30.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.2345, allocations: 0 / 0.9322 GB, free: 30.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2345, allocations: 11.94 kB / 0.9322 GB, free: 30.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.236, allocations: 1.253 MB / 0.9334 GB, free: 29.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.236, allocations: 4 kB / 0.9334 GB, free: 29.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.2363, allocations: 55.89 kB / 0.9335 GB, free: 29.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000397/0.2367, allocations: 132.2 kB / 0.9336 GB, free: 28.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.2367, allocations: 16.09 kB / 0.9336 GB, free: 28.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/0.2388, allocations: 4.024 MB / 0.9375 GB, free: 24.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.2388, allocations: 7.969 kB / 0.9375 GB, free: 24.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008588/0.2397, allocations: 0.7049 MB / 0.9382 GB, free: 23.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.2399, allocations: 168.3 kB / 0.9384 GB, free: 23.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.453e-05/0.24, allocations: 11.94 kB / 0.9384 GB, free: 23.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.2402, allocations: 19.97 kB / 0.9384 GB, free: 23.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.518e-05/0.2403, allocations: 39.94 kB / 0.9385 GB, free: 23.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.2403, allocations: 8 kB / 0.9385 GB, free: 23.44 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002958/0.2406, allocations: 338.8 kB / 0.9388 GB, free: 23.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2406, allocations: 0 / 0.9388 GB, free: 23.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000602/0.2412, allocations: 136 kB / 0.9389 GB, free: 22.98 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.0001185/0.2414, allocations: 111.6 kB / 0.939 GB, free: 22.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.2425, allocations: 1.044 MB / 0.94 GB, free: 21.74 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2425, allocations: 0 / 0.94 GB, free: 21.74 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006516/0.2432, allocations: 0.7367 MB / 0.9408 GB, free: 20.92 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.2442, allocations: 186 kB / 0.9409 GB, free: 20.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.2456, allocations: 1.313 MB / 0.9422 GB, free: 19.37 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.2459, allocations: 0.9058 MB / 0.9431 GB, free: 18.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.246, allocations: 43.44 kB / 0.9431 GB, free: 18.39 MB / 0.6042 GB Notification: Performance of SimCode: time 6.41e-07/0.246, allocations: 0 / 0.9431 GB, free: 18.39 MB / 0.6042 GB Notification: Performance of Templates: time 0.01525/0.2612, allocations: 17.92 MB / 0.9606 GB, free: 0.5117 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)