Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 106.5 kB / 16.29 MB, free: 6.43 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.001875/0.001875, allocations: 184 kB / 17.22 MB, free: 5.934 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.625/1.625, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.959/1.959, allocations: 292.3 MB / 0.5495 GB, free: 17.61 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.001541/0.001541, allocations: 75.89 kB / 0.6722 GB, free: 6.473 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2837, allocations: 114.5 MB / 0.7841 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.5764/0.8602, allocations: 4.284 MB / 0.7883 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004215/0.8645, allocations: 2.415 MB / 0.7906 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003917/0.8649, allocations: 15.41 kB / 0.7906 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.8662, allocations: 383.1 kB / 0.791 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.8673, allocations: 366.2 kB / 0.7914 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009563/0.8683, allocations: 318.1 kB / 0.7917 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008621/0.8692, allocations: 0.6836 MB / 0.7923 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005365/0.8697, allocations: 260.3 kB / 0.7926 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004226/0.8701, allocations: 255.7 kB / 0.7928 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003533/0.8705, allocations: 267.8 kB / 0.7931 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.504e-05/0.8706, allocations: 32.8 kB / 0.7931 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009038/0.8715, allocations: 428.3 kB / 0.7935 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.8716, allocations: 144.4 kB / 0.7936 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.8719, allocations: 241.4 kB / 0.7939 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.8729, allocations: 0.7288 MB / 0.7946 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.8729, allocations: 0 / 0.7946 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8729, allocations: 2.375 kB / 0.7946 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.8729, allocations: 0 / 0.7946 GB, free: 45.6 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001281/0.8742, allocations: 0.7883 MB / 0.7954 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.186e-05/0.8743, allocations: 7 kB / 0.7954 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/0.8758, allocations: 189.1 kB / 0.7955 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006874/0.8765, allocations: 403.8 kB / 0.7959 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.897e-05/0.8765, allocations: 25.95 kB / 0.796 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.371e-05/0.8766, allocations: 33.39 kB / 0.796 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009814/0.8776, allocations: 0.6617 MB / 0.7966 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.8776, allocations: 3.281 kB / 0.7966 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.899e-05/0.8777, allocations: 23.95 kB / 0.7967 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.52e-05/0.8778, allocations: 48.42 kB / 0.7967 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007597/0.8785, allocations: 0.4977 MB / 0.7972 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003477/0.882, allocations: 3.778 MB / 0.8009 GB, free: 41.36 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.8838, allocations: 0.6344 MB / 0.8015 GB, free: 41.25 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/0.8841, allocations: 170.6 kB / 0.8017 GB, free: 41.18 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.945e-05/0.8841, allocations: 8.266 kB / 0.8017 GB, free: 41.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.8842, allocations: 43.22 kB / 0.8017 GB, free: 41.13 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=30): time 3.316e-06/0.8842, allocations: 0 / 0.8017 GB, free: 41.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.002852/0.8871, allocations: 1.272 MB / 0.803 GB, free: 40.38 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.162e-05/0.8872, allocations: 105.5 kB / 0.8031 GB, free: 40.26 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007266/0.8879, allocations: 398.9 kB / 0.8034 GB, free: 40.06 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.8879, allocations: 36.98 kB / 0.8035 GB, free: 40.02 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/0.8882, allocations: 278.4 kB / 0.8037 GB, free: 39.79 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.8884, allocations: 131.5 kB / 0.8039 GB, free: 39.69 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/0.8886, allocations: 96.61 kB / 0.804 GB, free: 39.63 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001949/0.8888, allocations: 357.4 kB / 0.8043 GB, free: 39.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003843/0.8892, allocations: 174.3 kB / 0.8045 GB, free: 39.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00057/0.8898, allocations: 372.7 kB / 0.8048 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00097/0.8908, allocations: 0.5871 MB / 0.8054 GB, free: 38.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.846e-06/0.8908, allocations: 6.312 kB / 0.8054 GB, free: 38.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001266/0.8921, allocations: 0.6748 MB / 0.8061 GB, free: 38.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.8921, allocations: 7.281 kB / 0.8061 GB, free: 38.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.8921, allocations: 7.953 kB / 0.8061 GB, free: 38.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004111/0.8926, allocations: 98.94 kB / 0.8062 GB, free: 38.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004379/0.893, allocations: 112.8 kB / 0.8063 GB, free: 38.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003373/0.8964, allocations: 4.345 MB / 0.8105 GB, free: 33.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005315/0.8969, allocations: 34.53 kB / 0.8106 GB, free: 33.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-05/0.897, allocations: 24.28 kB / 0.8106 GB, free: 33.86 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.0004093/0.8974, allocations: 198.9 kB / 0.8108 GB, free: 33.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.8976, allocations: 52.08 kB / 0.8108 GB, free: 33.68 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.8988, allocations: 0.5184 MB / 0.8113 GB, free: 33.44 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.8989, allocations: 4.688 kB / 0.8113 GB, free: 33.44 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.8989, allocations: 2.281 kB / 0.8113 GB, free: 33.44 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.8989, allocations: 1.922 kB / 0.8113 GB, free: 33.44 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/0.9012, allocations: 1.283 MB / 0.8126 GB, free: 32.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.9013, allocations: 3.344 kB / 0.8126 GB, free: 32.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/0.9016, allocations: 67.69 kB / 0.8126 GB, free: 32.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003191/0.9019, allocations: 90 kB / 0.8127 GB, free: 32.58 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/0.9019, allocations: 9.531 kB / 0.8127 GB, free: 32.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003058/0.905, allocations: 4.336 MB / 0.817 GB, free: 28.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/0.905, allocations: 4.609 kB / 0.817 GB, free: 28.3 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.9063, allocations: 0.7827 MB / 0.8177 GB, free: 27.76 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/0.9065, allocations: 155.1 kB / 0.8179 GB, free: 27.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.078e-05/0.9066, allocations: 16 kB / 0.8179 GB, free: 27.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003181/0.9069, allocations: 22.45 kB / 0.8179 GB, free: 27.61 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.326e-05/0.907, allocations: 38.77 kB / 0.818 GB, free: 27.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.9071, allocations: 15.59 kB / 0.818 GB, free: 27.59 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004349/0.9075, allocations: 276.4 kB / 0.8182 GB, free: 27.46 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9075, allocations: 1.344 kB / 0.8182 GB, free: 27.46 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009938/0.9085, allocations: 124.2 kB / 0.8184 GB, free: 27.45 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.0001659/0.9087, allocations: 111.7 kB / 0.8185 GB, free: 27.34 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001491/0.9102, allocations: 0.8009 MB / 0.8193 GB, free: 26.86 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.9102, allocations: 4.531 kB / 0.8193 GB, free: 26.86 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007996/0.911, allocations: 0.5443 MB / 0.8198 GB, free: 26.46 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009699/0.912, allocations: 139.7 kB / 0.8199 GB, free: 26.43 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.9137, allocations: 0.9034 MB / 0.8208 GB, free: 25.88 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/0.9142, allocations: 0.8615 MB / 0.8216 GB, free: 25.17 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003378/0.9145, allocations: 106.3 kB / 0.8217 GB, free: 25.15 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.9146, allocations: 36 kB / 0.8218 GB, free: 25.15 MB / 0.6544 GB Notification: Performance of SimCode: time 7.21e-07/0.9147, allocations: 0 / 0.8218 GB, free: 25.15 MB / 0.6544 GB Notification: Performance of Templates: time 0.01649/0.9311, allocations: 5.75 MB / 0.8274 GB, free: 24.86 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)