Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.271/2.271, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.001357/0.001357, allocations: 181.1 kB / 326.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.434/2.434, allocations: 205.4 MB / 0.5772 GB, free: 20.81 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.0008642/0.0008639, allocations: 92.55 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006483/0.0006485, allocations: 11.88 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2081, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2559/0.4641, allocations: 147.4 MB / 1.043 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003709/0.4645, allocations: 99.92 kB / 1.043 GB, free: 13.88 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8109/1.275, allocations: 29.63 MB / 1.072 GB, free: 148.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.278e-06/1.276, allocations: 3.938 kB / 1.072 GB, free: 148.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.496e-05/1.276, allocations: 17.44 kB / 1.072 GB, free: 148.6 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.003041/1.279, allocations: 0.8446 MB / 1.073 GB, free: 148 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.91e-05/1.279, allocations: 9.875 kB / 1.073 GB, free: 148 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003386/1.282, allocations: 210.4 kB / 1.073 GB, free: 148 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/1.284, allocations: 479 kB / 1.074 GB, free: 147.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.353e-05/1.284, allocations: 34.44 kB / 1.074 GB, free: 147.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001959/1.284, allocations: 52.78 kB / 1.074 GB, free: 147.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002766/1.287, allocations: 0.9363 MB / 1.075 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.684e-05/1.287, allocations: 6.531 kB / 1.075 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000149/1.288, allocations: 29.69 kB / 1.075 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001822/1.288, allocations: 52.17 kB / 1.075 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002316/1.29, allocations: 0.5615 MB / 1.076 GB, free: 147.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008812/1.299, allocations: 5.664 MB / 1.081 GB, free: 142.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/1.301, allocations: 453.9 kB / 1.082 GB, free: 142.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008861/1.302, allocations: 229 kB / 1.082 GB, free: 142.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-05/1.302, allocations: 7.562 kB / 1.082 GB, free: 142.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/1.302, allocations: 42.69 kB / 1.082 GB, free: 142.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=32): time 4.339e-06/1.302, allocations: 3.938 kB / 1.082 GB, free: 142.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.006431/1.308, allocations: 1.499 MB / 1.083 GB, free: 141.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/1.308, allocations: 62.28 kB / 1.083 GB, free: 141.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/1.31, allocations: 494.1 kB / 1.084 GB, free: 141.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.893e-05/1.31, allocations: 32.58 kB / 1.084 GB, free: 141.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003531/1.31, allocations: 344.2 kB / 1.084 GB, free: 141.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/1.31, allocations: 124 kB / 1.084 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/1.31, allocations: 8.906 kB / 1.084 GB, free: 141.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001669/1.311, allocations: 367.6 kB / 1.085 GB, free: 140.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007319/1.311, allocations: 186.1 kB / 1.085 GB, free: 140.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008768/1.312, allocations: 414.8 kB / 1.085 GB, free: 140.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009126/1.313, allocations: 253.4 kB / 1.085 GB, free: 140.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/1.313, allocations: 2.406 kB / 1.085 GB, free: 140.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003171/1.316, allocations: 0.7681 MB / 1.086 GB, free: 140.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.27e-05/1.317, allocations: 11.97 kB / 1.086 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-05/1.317, allocations: 7.594 kB / 1.086 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/1.318, allocations: 150.4 kB / 1.086 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/1.319, allocations: 117 kB / 1.086 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005476/1.325, allocations: 4.024 MB / 1.09 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/1.326, allocations: 37.72 kB / 1.09 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/1.326, allocations: 29.03 kB / 1.09 GB, free: 136.5 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.0006863/1.327, allocations: 208.7 kB / 1.091 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003237/1.327, allocations: 57.25 kB / 1.091 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002767/1.33, allocations: 0.6055 MB / 1.091 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.868e-05/1.33, allocations: 3.969 kB / 1.091 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/1.33, allocations: 1.25 kB / 1.091 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/1.33, allocations: 0.5 kB / 1.091 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005017/1.335, allocations: 1.261 MB / 1.093 GB, free: 135.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/1.335, allocations: 1.969 kB / 1.093 GB, free: 135.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007916/1.336, allocations: 66.66 kB / 1.093 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/1.337, allocations: 140.4 kB / 1.093 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.658e-05/1.337, allocations: 7.219 kB / 1.093 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005225/1.342, allocations: 4.025 MB / 1.097 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/1.342, allocations: 3.938 kB / 1.097 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002446/1.345, allocations: 0.7036 MB / 1.097 GB, free: 130.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006257/1.346, allocations: 171.1 kB / 1.098 GB, free: 130.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/1.346, allocations: 15.56 kB / 1.098 GB, free: 130.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000741/1.347, allocations: 26.64 kB / 1.098 GB, free: 130.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/1.347, allocations: 37.64 kB / 1.098 GB, free: 130.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.922e-05/1.347, allocations: 6 kB / 1.098 GB, free: 130.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007835/1.348, allocations: 333.3 kB / 1.098 GB, free: 130.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.21e-07/1.348, allocations: 0 / 1.098 GB, free: 130.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001678/1.349, allocations: 148.7 kB / 1.098 GB, free: 130.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.0003334/1.35, allocations: 118.1 kB / 1.098 GB, free: 130.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002808/1.353, allocations: 1.009 MB / 1.099 GB, free: 129.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/1.353, allocations: 0 / 1.099 GB, free: 129.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00172/1.354, allocations: 0.7436 MB / 1.1 GB, free: 128.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002637/1.357, allocations: 193.7 kB / 1.1 GB, free: 128.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/1.361, allocations: 1.214 MB / 1.101 GB, free: 127.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00064/1.361, allocations: 0.8962 MB / 1.102 GB, free: 127.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009681/1.362, allocations: 118 kB / 1.102 GB, free: 127 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/1.363, allocations: 40.09 kB / 1.102 GB, free: 127 MB / 0.698 GB Notification: Performance of SimCode: time 1.813e-06/1.363, allocations: 0 / 1.102 GB, free: 127 MB / 0.698 GB Notification: Performance of Templates: time 0.02024/1.383, allocations: 7.056 MB / 1.109 GB, free: 122.3 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)