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.308/1.308, allocations: 252 MB / 267.9 MB, free: 10.92 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.0009559/0.0009559, allocations: 180.3 kB / 327.6 MB, free: 2.156 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.521/1.521, allocations: 205.4 MB / 0.5785 GB, free: 20.21 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.0007419/0.0007419, allocations: 96.67 kB / 0.6831 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004352/0.0004352, allocations: 13.73 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2057, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1677/0.3735, allocations: 147.5 MB / 1.045 GB, free: 11.93 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.3738, allocations: 91.94 kB / 1.045 GB, free: 11.84 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4402/0.814, allocations: 29.65 MB / 1.074 GB, free: 147.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.126e-06/0.814, allocations: 0 / 1.074 GB, free: 147.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001056/0.8141, allocations: 17.16 kB / 1.074 GB, free: 147.8 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.002752/0.8169, allocations: 0.8449 MB / 1.075 GB, free: 147.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.358e-05/0.817, allocations: 9.281 kB / 1.075 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001661/0.8186, allocations: 200.6 kB / 1.075 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.8197, allocations: 497.9 kB / 1.076 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.3e-05/0.8198, allocations: 38.75 kB / 1.076 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.8199, allocations: 49.53 kB / 1.076 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.8212, allocations: 0.9288 MB / 1.077 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.976e-05/0.8213, allocations: 7.781 kB / 1.077 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.487e-05/0.8214, allocations: 32.34 kB / 1.077 GB, free: 146.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.919e-05/0.8215, allocations: 49.2 kB / 1.077 GB, free: 146.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009634/0.8224, allocations: 0.5661 MB / 1.078 GB, free: 146.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004275/0.8267, allocations: 5.669 MB / 1.083 GB, free: 141.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007768/0.8275, allocations: 458.4 kB / 1.083 GB, free: 141.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003464/0.8279, allocations: 225.8 kB / 1.084 GB, free: 141.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.8279, allocations: 6.641 kB / 1.084 GB, free: 141.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.828, allocations: 40.88 kB / 1.084 GB, free: 141.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=32): time 3.136e-06/0.828, allocations: 0 / 1.084 GB, free: 141.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.002584/0.8306, allocations: 1.493 MB / 1.085 GB, free: 140.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.8306, allocations: 63.08 kB / 1.085 GB, free: 140.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000636/0.8313, allocations: 495.8 kB / 1.086 GB, free: 140 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.8313, allocations: 34.42 kB / 1.086 GB, free: 140 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/0.8315, allocations: 338.4 kB / 1.086 GB, free: 139.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.8316, allocations: 121.1 kB / 1.086 GB, free: 139.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/0.8317, allocations: 9.344 kB / 1.086 GB, free: 139.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.8318, allocations: 363.6 kB / 1.087 GB, free: 139.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.8321, allocations: 186.9 kB / 1.087 GB, free: 139.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/0.8325, allocations: 418.6 kB / 1.087 GB, free: 139 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007073/0.8332, allocations: 0.6407 MB / 1.088 GB, free: 138.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.8332, allocations: 1.438 kB / 1.088 GB, free: 138.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001471/0.8347, allocations: 0.7717 MB / 1.089 GB, free: 138.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/0.8347, allocations: 8.25 kB / 1.089 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.957e-05/0.8348, allocations: 7.344 kB / 1.089 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004988/0.8353, allocations: 146.9 kB / 1.089 GB, free: 138.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004958/0.8358, allocations: 118 kB / 1.089 GB, free: 138.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003098/0.8389, allocations: 4.037 MB / 1.093 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005893/0.8395, allocations: 34.72 kB / 1.093 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.856e-05/0.8396, allocations: 32.53 kB / 1.093 GB, free: 134.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004059/0.84, allocations: 207.9 kB / 1.093 GB, free: 134.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.8402, allocations: 62.22 kB / 1.093 GB, free: 134.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.8412, allocations: 0.5998 MB / 1.094 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.8412, allocations: 3.906 kB / 1.094 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.8412, allocations: 3.938 kB / 1.094 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.8412, allocations: 0 / 1.094 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.843, allocations: 1.258 MB / 1.095 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.843, allocations: 3.75 kB / 1.095 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.8433, allocations: 64.2 kB / 1.095 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003404/0.8436, allocations: 142.1 kB / 1.095 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.8436, allocations: 6.219 kB / 1.095 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/0.8458, allocations: 4.034 MB / 1.099 GB, free: 129.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.8458, allocations: 0 / 1.099 GB, free: 129.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008658/0.8467, allocations: 0.703 MB / 1.1 GB, free: 128.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002427/0.8469, allocations: 170.9 kB / 1.1 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.459e-05/0.847, allocations: 15.31 kB / 1.1 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.8473, allocations: 23.47 kB / 1.1 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/0.8474, allocations: 37.97 kB / 1.1 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.8474, allocations: 11.7 kB / 1.1 GB, free: 128.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003086/0.8477, allocations: 328.3 kB / 1.1 GB, free: 128.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8477, allocations: 0 / 1.1 GB, free: 128.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000703/0.8484, allocations: 144.7 kB / 1.1 GB, free: 128.4 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001563/0.8486, allocations: 123.1 kB / 1.101 GB, free: 128.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001192/0.8498, allocations: 1.009 MB / 1.102 GB, free: 127.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.8498, allocations: 0 / 1.102 GB, free: 127.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006285/0.8504, allocations: 0.7416 MB / 1.102 GB, free: 126.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.8515, allocations: 189.2 kB / 1.102 GB, free: 126.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.8531, allocations: 1.207 MB / 1.104 GB, free: 125.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.8534, allocations: 0.9002 MB / 1.104 GB, free: 125 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000387/0.8538, allocations: 118 kB / 1.105 GB, free: 125 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.399e-05/0.8539, allocations: 37.31 kB / 1.105 GB, free: 125 MB / 0.698 GB Notification: Performance of SimCode: time 4.81e-07/0.8539, allocations: 0 / 1.105 GB, free: 125 MB / 0.698 GB Notification: Performance of Templates: time 0.0122/0.8661, allocations: 7.167 MB / 1.112 GB, free: 119.1 MB / 0.698 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)