Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.0118/0.0118, allocations: 170.5 kB / 16.27 MB, free: 6.652 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.691/1.691, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.887/1.887, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005497/0.0005499, allocations: 19.55 kB / 0.6743 GB, free: 25.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.309, allocations: 116.3 MB / 0.7879 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005376/0.3144, allocations: 4.487 MB / 0.7923 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004009/0.3185, allocations: 2.465 MB / 0.7947 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003627/0.3189, allocations: 23.81 kB / 0.7947 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.3192, allocations: 87.2 kB / 0.7948 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.3202, allocations: 418 kB / 0.7952 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008031/0.3211, allocations: 338.3 kB / 0.7955 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001071/0.3221, allocations: 1.128 MB / 0.7966 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007701/0.3229, allocations: 468.2 kB / 0.7971 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003853/0.3233, allocations: 286.6 kB / 0.7973 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004404/0.3238, allocations: 338.5 kB / 0.7977 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.457e-05/0.3238, allocations: 20 kB / 0.7977 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007863/0.3246, allocations: 0.4911 MB / 0.7982 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.3248, allocations: 159.5 kB / 0.7983 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002767/0.3251, allocations: 312 kB / 0.7986 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008714/0.3259, allocations: 0.8837 MB / 0.7995 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.326, allocations: 3.938 kB / 0.7995 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.234e-06/0.326, allocations: 0 / 0.7995 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.326, allocations: 0 / 0.7995 GB, free: 15.61 MB / 0.6231 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.001288/0.3273, allocations: 0.8296 MB / 0.8003 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.3273, allocations: 8.031 kB / 0.8003 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.3285, allocations: 199.9 kB / 0.8005 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000655/0.3292, allocations: 486.4 kB / 0.8009 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.3292, allocations: 37.38 kB / 0.801 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.324e-05/0.3293, allocations: 48.27 kB / 0.801 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.3304, allocations: 0.8524 MB / 0.8019 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.3305, allocations: 11.94 kB / 0.8019 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-05/0.3305, allocations: 23.98 kB / 0.8019 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.403e-05/0.3306, allocations: 64.89 kB / 0.8019 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008356/0.3315, allocations: 0.5656 MB / 0.8025 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004797/0.3363, allocations: 5.654 MB / 0.808 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006401/0.337, allocations: 450.3 kB / 0.8085 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/0.3373, allocations: 228.7 kB / 0.8087 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.3373, allocations: 7.938 kB / 0.8087 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.3373, allocations: 34.56 kB / 0.8087 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 2.445e-06/0.3374, allocations: 0 / 0.8087 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002544/0.3399, allocations: 1.516 MB / 0.8102 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.34, allocations: 55.41 kB / 0.8102 GB, free: 3.797 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005018/0.3405, allocations: 495 kB / 0.8107 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.3405, allocations: 29.7 kB / 0.8107 GB, free: 3.266 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.3408, allocations: 362.8 kB / 0.8111 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.783e-05/0.3409, allocations: 122.3 kB / 0.8112 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.699e-05/0.341, allocations: 49.7 kB / 0.8113 GB, free: 2.73 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3411, allocations: 366.8 kB / 0.8116 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002829/0.3414, allocations: 193.2 kB / 0.8118 GB, free: 2.172 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004411/0.3419, allocations: 450.8 kB / 0.8122 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007904/0.3427, allocations: 0.6924 MB / 0.8129 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3427, allocations: 0 / 0.8129 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001195/0.3439, allocations: 0.806 MB / 0.8137 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.3439, allocations: 11.94 kB / 0.8137 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.3439, allocations: 8 kB / 0.8137 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004931/0.3444, allocations: 160 kB / 0.8139 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004295/0.3449, allocations: 119.9 kB / 0.814 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003254/0.3481, allocations: 4.036 MB / 0.8179 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003724/0.3485, allocations: 31.97 kB / 0.8179 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.445e-05/0.3486, allocations: 32.16 kB / 0.818 GB, free: 11.17 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002787/0.3489, allocations: 218.2 kB / 0.8182 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.405e-05/0.349, allocations: 59.34 kB / 0.8182 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.35, allocations: 0.6044 MB / 0.8188 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.35, allocations: 4 kB / 0.8188 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3501, allocations: 0 / 0.8188 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.3501, allocations: 7.922 kB / 0.8188 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/0.3519, allocations: 1.257 MB / 0.8201 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.3519, allocations: 4 kB / 0.8201 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.3522, allocations: 51.95 kB / 0.8201 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003791/0.3526, allocations: 152.3 kB / 0.8203 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/0.3526, allocations: 4 kB / 0.8203 GB, free: 8.688 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003002/0.3556, allocations: 4.033 MB / 0.8242 GB, free: 4.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.3556, allocations: 7.969 kB / 0.8242 GB, free: 4.242 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009379/0.3566, allocations: 0.7038 MB / 0.8249 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/0.3568, allocations: 172.3 kB / 0.8251 GB, free: 3.297 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.805e-05/0.3569, allocations: 15.92 kB / 0.8251 GB, free: 3.281 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.3571, allocations: 19.97 kB / 0.8251 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.763e-05/0.3572, allocations: 31.97 kB / 0.8251 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.3572, allocations: 12 kB / 0.8251 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003508/0.3576, allocations: 338.8 kB / 0.8255 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3576, allocations: 0 / 0.8255 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006337/0.3582, allocations: 140 kB / 0.8256 GB, free: 2.754 MB / 0.6387 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 (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002092/0.3585, allocations: 115.1 kB / 0.8257 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001459/0.3599, allocations: 1.033 MB / 0.8267 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.36, allocations: 0 / 0.8267 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008259/0.3608, allocations: 0.7502 MB / 0.8274 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.3619, allocations: 190 kB / 0.8276 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.364, allocations: 1.256 MB / 0.8289 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005108/0.3645, allocations: 0.9058 MB / 0.8297 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003831/0.3649, allocations: 117.3 kB / 0.8299 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.365, allocations: 39.44 kB / 0.8299 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of SimCode: time 1.122e-06/0.365, allocations: 0 / 0.8299 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of Templates: time 0.01499/0.38, allocations: 7.267 MB / 0.837 GB, free: 6.922 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) Environment - environmentSimulation: