Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 102.3 kB / 16.29 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 182.2 kB / 17.22 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.954/1.954, allocations: 292.3 MB / 0.5495 GB, free: 17.44 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002485/0.002485, allocations: 67.91 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3175, allocations: 114.6 MB / 0.7841 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006413/0.324, allocations: 3.743 MB / 0.7877 GB, free: 80 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.556/0.8801, allocations: 1.831 MB / 0.7895 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005238/0.8807, allocations: 18.38 kB / 0.7895 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.8819, allocations: 265.3 kB / 0.7898 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0007833/0.8827, allocations: 292.7 kB / 0.7901 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007228/0.8834, allocations: 250.5 kB / 0.7903 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006299/0.884, allocations: 0.6082 MB / 0.7909 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004936/0.8845, allocations: 255.2 kB / 0.7912 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003785/0.8849, allocations: 233.2 kB / 0.7914 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003154/0.8853, allocations: 232.1 kB / 0.7916 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.896e-05/0.8853, allocations: 27.59 kB / 0.7916 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005344/0.8859, allocations: 273.7 kB / 0.7919 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.886, allocations: 120.9 kB / 0.792 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001974/0.8862, allocations: 215.5 kB / 0.7922 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006215/0.8869, allocations: 0.5936 MB / 0.7928 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.8869, allocations: 2.719 kB / 0.7928 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8869, allocations: 0.7812 kB / 0.7928 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.8869, allocations: 3.5 kB / 0.7928 GB, free: 45.95 MB / 0.6544 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.001138/0.888, allocations: 0.7203 MB / 0.7935 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.8881, allocations: 10.81 kB / 0.7935 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008506/0.8889, allocations: 139.3 kB / 0.7936 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.8894, allocations: 371.4 kB / 0.794 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.8894, allocations: 28.48 kB / 0.794 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.562e-05/0.8895, allocations: 32.44 kB / 0.7941 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007711/0.8903, allocations: 0.5494 MB / 0.7946 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.8903, allocations: 6 kB / 0.7946 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/0.8903, allocations: 18.84 kB / 0.7946 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.04e-05/0.8904, allocations: 41.5 kB / 0.7947 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006039/0.891, allocations: 409.8 kB / 0.795 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002353/0.8934, allocations: 3.329 MB / 0.7983 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006353/0.894, allocations: 340 kB / 0.7986 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002878/0.8943, allocations: 182.8 kB / 0.7988 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.8944, allocations: 2.297 kB / 0.7988 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.8944, allocations: 33.19 kB / 0.7988 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=26): time 2.294e-06/0.8944, allocations: 1.969 kB / 0.7988 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=27): time 0.002092/0.8965, allocations: 1.06 MB / 0.7999 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.8966, allocations: 58.14 kB / 0.7999 GB, free: 41.72 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003647/0.8969, allocations: 343.2 kB / 0.8002 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.897, allocations: 32.67 kB / 0.8003 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.8971, allocations: 242.7 kB / 0.8005 GB, free: 41.42 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.336e-05/0.8972, allocations: 101.2 kB / 0.8006 GB, free: 41.36 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.8973, allocations: 76.11 kB / 0.8007 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.779e-05/0.8974, allocations: 345.7 kB / 0.801 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.8977, allocations: 151.9 kB / 0.8012 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/0.898, allocations: 292.6 kB / 0.8014 GB, free: 40.75 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006895/0.8987, allocations: 485.8 kB / 0.8019 GB, free: 40.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.8988, allocations: 0 / 0.8019 GB, free: 40.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001085/0.8998, allocations: 0.5622 MB / 0.8024 GB, free: 40.23 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/0.8999, allocations: 8.906 kB / 0.8025 GB, free: 40.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.8999, allocations: 4.656 kB / 0.8025 GB, free: 40.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003872/0.9003, allocations: 88.06 kB / 0.8025 GB, free: 40.19 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004084/0.9007, allocations: 93.83 kB / 0.8026 GB, free: 40.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.419e-05/0.9008, allocations: 9.594 kB / 0.8026 GB, free: 40.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.9011, allocations: 31.03 kB / 0.8027 GB, free: 40.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.196e-05/0.9011, allocations: 17.27 kB / 0.8027 GB, free: 40.17 MB / 0.6544 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.0002628/0.9014, allocations: 171.4 kB / 0.8028 GB, free: 40.04 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.9015, allocations: 41.5 kB / 0.8029 GB, free: 40.02 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.9026, allocations: 469.7 kB / 0.8033 GB, free: 39.81 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.9026, allocations: 6.469 kB / 0.8033 GB, free: 39.81 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.9026, allocations: 0 / 0.8033 GB, free: 39.81 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.9027, allocations: 1.125 kB / 0.8033 GB, free: 39.81 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.9046, allocations: 0.967 MB / 0.8043 GB, free: 39.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.9046, allocations: 2.625 kB / 0.8043 GB, free: 39.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.9049, allocations: 52.31 kB / 0.8043 GB, free: 39.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002682/0.9052, allocations: 78.27 kB / 0.8044 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.9052, allocations: 12.59 kB / 0.8044 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/0.9052, allocations: 4.688 kB / 0.8044 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.9052, allocations: 1.375 kB / 0.8044 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009704/0.9062, allocations: 0.5467 MB / 0.805 GB, free: 38.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/0.9064, allocations: 135.1 kB / 0.8051 GB, free: 38.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.279e-05/0.9064, allocations: 11.66 kB / 0.8051 GB, free: 38.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.9067, allocations: 21.31 kB / 0.8051 GB, free: 38.76 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.451e-05/0.9068, allocations: 26.42 kB / 0.8052 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.9068, allocations: 7.016 kB / 0.8052 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002815/0.9071, allocations: 233.8 kB / 0.8054 GB, free: 38.63 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9071, allocations: 7.938 kB / 0.8054 GB, free: 38.62 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005458/0.9076, allocations: 90.42 kB / 0.8055 GB, free: 38.61 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0001789/0.9078, allocations: 106.9 kB / 0.8056 GB, free: 38.52 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001083/0.9089, allocations: 0.6298 MB / 0.8062 GB, free: 38.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.9089, allocations: 1.438 kB / 0.8062 GB, free: 38.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004987/0.9094, allocations: 435.1 kB / 0.8066 GB, free: 37.73 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007716/0.9102, allocations: 133.8 kB / 0.8067 GB, free: 37.69 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.9117, allocations: 0.7095 MB / 0.8074 GB, free: 37.29 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.9122, allocations: 0.8231 MB / 0.8082 GB, free: 36.58 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003379/0.9126, allocations: 80.33 kB / 0.8083 GB, free: 36.57 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.809e-05/0.9127, allocations: 29.47 kB / 0.8083 GB, free: 36.56 MB / 0.6544 GB Notification: Performance of SimCode: time 4.31e-07/0.9127, allocations: 1.5 kB / 0.8083 GB, free: 36.56 MB / 0.6544 GB Notification: Performance of Templates: time 0.01403/0.9267, allocations: 4.682 MB / 0.8129 GB, free: 36.34 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)