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.VariableImpedance.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.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.376/1.376, 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.0009303/0.0009303, allocations: 170.5 kB / 326.5 MB, free: 2.691 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.901/1.901, allocations: 205 MB / 0.5766 GB, free: 21.01 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.0007789/0.0007789, allocations: 92.67 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003434, allocations: 8.594 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2101, allocations: 105.4 MB / 0.8968 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004055/0.2142, allocations: 3.461 MB / 0.9001 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002531/0.2168, allocations: 1.856 MB / 0.9019 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003866/0.2172, allocations: 19.88 kB / 0.902 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007582/0.218, allocations: 235 kB / 0.9022 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007137/0.2187, allocations: 274.7 kB / 0.9024 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005576/0.2193, allocations: 226.5 kB / 0.9027 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000716/0.22, allocations: 0.7374 MB / 0.9034 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000456/0.2205, allocations: 261.8 kB / 0.9036 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003689/0.2208, allocations: 199 kB / 0.9038 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003149/0.2212, allocations: 223 kB / 0.904 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.353e-05/0.2212, allocations: 12 kB / 0.904 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004868/0.2217, allocations: 339.3 kB / 0.9044 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.2218, allocations: 103.6 kB / 0.9045 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.222, allocations: 194.8 kB / 0.9047 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006298/0.2227, allocations: 0.5839 MB / 0.9052 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2227, allocations: 0 / 0.9052 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2227, allocations: 0 / 0.9052 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.2227, allocations: 0 / 0.9052 GB, free: 59.46 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0009421/0.2237, allocations: 0.6701 MB / 0.9059 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.2237, allocations: 8.031 kB / 0.9059 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008655/0.2246, allocations: 132.1 kB / 0.906 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.225, allocations: 371.7 kB / 0.9064 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.225, allocations: 25.02 kB / 0.9064 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.984e-05/0.2251, allocations: 32.36 kB / 0.9064 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006316/0.2257, allocations: 0.5627 MB / 0.907 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.2257, allocations: 0 / 0.907 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.2258, allocations: 12 kB / 0.907 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-05/0.2258, allocations: 44.53 kB / 0.907 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006373/0.2265, allocations: 421.7 kB / 0.9074 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.2285, allocations: 3.333 MB / 0.9107 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005336/0.229, allocations: 348 kB / 0.911 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/0.2293, allocations: 176.8 kB / 0.9112 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.2293, allocations: 8 kB / 0.9112 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.2293, allocations: 42.5 kB / 0.9112 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=26): time 2.004e-06/0.2294, allocations: 0 / 0.9112 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.00165/0.231, allocations: 1.081 MB / 0.9123 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.557e-05/0.231, allocations: 51.64 kB / 0.9123 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.2313, allocations: 341.6 kB / 0.9127 GB, free: 51.33 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.2313, allocations: 29.7 kB / 0.9127 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.852e-05/0.2314, allocations: 251.5 kB / 0.9129 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.21e-05/0.2315, allocations: 90.66 kB / 0.913 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/0.2315, allocations: 37.7 kB / 0.9131 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.562e-05/0.2316, allocations: 354.7 kB / 0.9134 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.2318, allocations: 148.8 kB / 0.9135 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002732/0.2321, allocations: 302.5 kB / 0.9138 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005325/0.2327, allocations: 492.4 kB / 0.9143 GB, free: 49.51 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2327, allocations: 0 / 0.9143 GB, free: 49.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007955/0.2335, allocations: 0.5814 MB / 0.9149 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2335, allocations: 10.48 kB / 0.9149 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.2335, allocations: 8 kB / 0.9149 GB, free: 48.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002434/0.2338, allocations: 82.98 kB / 0.915 GB, free: 48.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.2341, allocations: 99.81 kB / 0.9151 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.2341, allocations: 11.94 kB / 0.9151 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.2344, allocations: 35.84 kB / 0.9151 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.2344, allocations: 20 kB / 0.9151 GB, free: 48.64 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001447/0.2346, allocations: 173.8 kB / 0.9153 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.2346, allocations: 39.53 kB / 0.9153 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007124/0.2354, allocations: 468 kB / 0.9158 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2354, allocations: 4 kB / 0.9158 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2354, allocations: 0 / 0.9158 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.2355, allocations: 144.6 kB / 0.9159 GB, free: 47.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/0.2356, allocations: 4 kB / 0.9159 GB, free: 47.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.2358, allocations: 23.91 kB / 0.9159 GB, free: 47.76 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.299e-05/0.2358, allocations: 23.97 kB / 0.916 GB, free: 47.74 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008758/0.2367, allocations: 0.5459 MB / 0.9165 GB, free: 47.18 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007252/0.2375, allocations: 0.7102 MB / 0.9172 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002046/0.2377, allocations: 155.9 kB / 0.9173 GB, free: 46.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001622/0.2378, allocations: 235.2 kB / 0.9176 GB, free: 46.07 MB / 0.6042 GB Notification: Performance of Backend: time 2.8e-07/0.2378, allocations: 4 kB / 0.9176 GB, free: 46.06 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.2389, allocations: 0.7312 MB / 0.9183 GB, free: 45.26 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001247/0.2402, allocations: 1.363 MB / 0.9196 GB, free: 43.85 MB / 0.6042 GB Notification: Performance of Templates: time 0.009414/0.2496, allocations: 6.139 MB / 0.9256 GB, free: 37.76 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)