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.001556/0.001556, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00224/0.00224, allocations: 191.4 kB / 16.53 MB, free: 6.625 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.665/1.665, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.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.747/1.747, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.00243/0.00243, allocations: 72.78 kB / 0.6715 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3805, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006314/0.3869, allocations: 3.751 MB / 0.787 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003754/0.3907, allocations: 1.833 MB / 0.7888 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000241/0.391, allocations: 11.94 kB / 0.7888 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000902/0.3919, allocations: 270.6 kB / 0.7891 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007021/0.3926, allocations: 294.5 kB / 0.7894 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006798/0.3933, allocations: 243.5 kB / 0.7896 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007582/0.3941, allocations: 0.601 MB / 0.7902 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005557/0.3947, allocations: 274.5 kB / 0.7905 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003278/0.395, allocations: 231.1 kB / 0.7907 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003038/0.3953, allocations: 227 kB / 0.7909 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.006e-05/0.3954, allocations: 32 kB / 0.7909 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005247/0.3959, allocations: 275.4 kB / 0.7912 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.3961, allocations: 119.6 kB / 0.7913 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.3963, allocations: 206.9 kB / 0.7915 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006721/0.3969, allocations: 0.5882 MB / 0.7921 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.397, allocations: 0 / 0.7921 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.397, allocations: 0 / 0.7921 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.397, allocations: 3.984 kB / 0.7921 GB, free: 4.508 MB / 0.6075 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.001263/0.3983, allocations: 0.7361 MB / 0.7928 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3983, allocations: 8.031 kB / 0.7928 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000956/0.3993, allocations: 132.2 kB / 0.7929 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005348/0.3998, allocations: 371.7 kB / 0.7933 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.3998, allocations: 28.97 kB / 0.7933 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.39e-05/0.3999, allocations: 32.36 kB / 0.7933 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008729/0.4008, allocations: 0.5573 MB / 0.7939 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.4008, allocations: 7.938 kB / 0.7939 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.4009, allocations: 12 kB / 0.7939 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.857e-05/0.401, allocations: 44.53 kB / 0.7939 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006945/0.4017, allocations: 405.7 kB / 0.7943 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003062/0.4047, allocations: 3.341 MB / 0.7976 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006588/0.4054, allocations: 339.1 kB / 0.7979 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002817/0.4057, allocations: 172.7 kB / 0.7981 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.4057, allocations: 4 kB / 0.7981 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.4058, allocations: 38.55 kB / 0.7981 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=26): time 1.794e-06/0.4058, allocations: 4 kB / 0.7981 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=27): time 0.002088/0.4079, allocations: 1.062 MB / 0.7992 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.4079, allocations: 55.64 kB / 0.7992 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/0.4083, allocations: 341.5 kB / 0.7995 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.4083, allocations: 33.7 kB / 0.7996 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.4085, allocations: 243.5 kB / 0.7998 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.033e-05/0.4086, allocations: 94.73 kB / 0.7999 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.4087, allocations: 77.95 kB / 0.8 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.4088, allocations: 346.8 kB / 0.8003 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.4091, allocations: 148.8 kB / 0.8004 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003614/0.4095, allocations: 298.5 kB / 0.8007 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006971/0.4102, allocations: 479.9 kB / 0.8012 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4102, allocations: 4 kB / 0.8012 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001049/0.4113, allocations: 0.5589 MB / 0.8017 GB, free: 9.93 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.4113, allocations: 4 kB / 0.8017 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.4113, allocations: 8 kB / 0.8017 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003221/0.4116, allocations: 83.08 kB / 0.8018 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/0.412, allocations: 91.81 kB / 0.8019 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.412, allocations: 8 kB / 0.8019 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.4123, allocations: 35.91 kB / 0.802 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.4123, allocations: 12 kB / 0.802 GB, free: 9.684 MB / 0.6231 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.0002016/0.4125, allocations: 184.5 kB / 0.8021 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.955e-05/0.4126, allocations: 47.52 kB / 0.8022 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008665/0.4135, allocations: 464.2 kB / 0.8026 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.4135, allocations: 4 kB / 0.8026 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4135, allocations: 0 / 0.8026 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4135, allocations: 7.984 kB / 0.8026 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.4149, allocations: 0.9537 MB / 0.8036 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.415, allocations: 11.92 kB / 0.8036 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.4152, allocations: 43.97 kB / 0.8036 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002314/0.4154, allocations: 86.59 kB / 0.8037 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.4155, allocations: 8 kB / 0.8037 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.4155, allocations: 7.875 kB / 0.8037 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.4155, allocations: 4 kB / 0.8037 GB, free: 7.77 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008623/0.4163, allocations: 0.5467 MB / 0.8043 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.4165, allocations: 136.6 kB / 0.8044 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/0.4166, allocations: 11.94 kB / 0.8044 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.4168, allocations: 19.97 kB / 0.8044 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.082e-05/0.4169, allocations: 23.91 kB / 0.8044 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.4169, allocations: 12 kB / 0.8045 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002201/0.4171, allocations: 235.2 kB / 0.8047 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4171, allocations: 0 / 0.8047 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004902/0.4176, allocations: 84 kB / 0.8048 GB, free: 6.66 MB / 0.6231 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.0001809/0.4178, allocations: 111.2 kB / 0.8049 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001018/0.4189, allocations: 0.6693 MB / 0.8055 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4189, allocations: 0 / 0.8055 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004441/0.4193, allocations: 436.4 kB / 0.8059 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007199/0.4201, allocations: 131.5 kB / 0.8061 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.4212, allocations: 0.7308 MB / 0.8068 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.4217, allocations: 0.8195 MB / 0.8076 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002487/0.4219, allocations: 79.36 kB / 0.8077 GB, free: 3.496 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.063e-05/0.422, allocations: 35.36 kB / 0.8077 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of SimCode: time 4.91e-07/0.422, allocations: 0 / 0.8077 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of Templates: time 0.009562/0.4316, allocations: 4.671 MB / 0.8122 GB, free: 14.86 MB / 0.6387 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)