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.001082/0.001082, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001046/0.001046, allocations: 195.2 kB / 16.14 MB, free: 6.66 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.532/1.532, allocations: 205.1 MB / 222 MB, free: 4.746 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.724/1.724, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001277/0.001277, allocations: 64.81 kB / 0.6708 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2738, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006209/0.2801, allocations: 4.321 MB / 0.7869 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004028/0.2841, allocations: 2.436 MB / 0.7893 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002729/0.2844, allocations: 15.88 kB / 0.7893 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.2856, allocations: 346.7 kB / 0.7896 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0009579/0.2866, allocations: 350.4 kB / 0.79 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000849/0.2874, allocations: 283.4 kB / 0.7902 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001012/0.2884, allocations: 0.8738 MB / 0.7911 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004944/0.2889, allocations: 258.2 kB / 0.7913 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003093/0.2893, allocations: 227 kB / 0.7915 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003551/0.2896, allocations: 270.8 kB / 0.7918 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.44e-05/0.2897, allocations: 20 kB / 0.7918 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009364/0.2906, allocations: 0.5262 MB / 0.7923 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.2908, allocations: 139.5 kB / 0.7925 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.291, allocations: 230.7 kB / 0.7927 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008046/0.2918, allocations: 0.7475 MB / 0.7934 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2918, allocations: 0 / 0.7934 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.31e-07/0.2919, allocations: 0 / 0.7934 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.2919, allocations: 0 / 0.7934 GB, free: 2.961 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001228/0.2931, allocations: 0.7832 MB / 0.7942 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/0.2932, allocations: 16.03 kB / 0.7942 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/0.2945, allocations: 184.1 kB / 0.7944 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005812/0.2951, allocations: 400.5 kB / 0.7948 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.2952, allocations: 25.36 kB / 0.7948 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.633e-05/0.2952, allocations: 40.36 kB / 0.7948 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009044/0.2962, allocations: 0.6521 MB / 0.7955 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.2962, allocations: 4 kB / 0.7955 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.477e-05/0.2962, allocations: 15.98 kB / 0.7955 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.998e-05/0.2963, allocations: 55.95 kB / 0.7955 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006932/0.297, allocations: 0.4923 MB / 0.796 GB, free: 124 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003151/0.3002, allocations: 3.786 MB / 0.7997 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/0.3018, allocations: 0.6244 MB / 0.8003 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.3021, allocations: 178.5 kB / 0.8005 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.3021, allocations: 7.938 kB / 0.8005 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.3021, allocations: 38.5 kB / 0.8005 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=30): time 2.805e-06/0.3021, allocations: 0 / 0.8005 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.00219/0.3043, allocations: 1.272 MB / 0.8018 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.3044, allocations: 118.7 kB / 0.8019 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003929/0.3048, allocations: 401.8 kB / 0.8023 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.3049, allocations: 29.7 kB / 0.8023 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.305, allocations: 281.1 kB / 0.8026 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.3052, allocations: 122.3 kB / 0.8027 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.3053, allocations: 106.1 kB / 0.8028 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.3055, allocations: 350.8 kB / 0.8031 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.3057, allocations: 177 kB / 0.8033 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/0.3062, allocations: 379.2 kB / 0.8036 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007391/0.3069, allocations: 0.5757 MB / 0.8042 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3069, allocations: 11.94 kB / 0.8042 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001058/0.308, allocations: 0.6709 MB / 0.8049 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.308, allocations: 8 kB / 0.8049 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.308, allocations: 8 kB / 0.8049 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003896/0.3084, allocations: 102.8 kB / 0.805 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/0.3088, allocations: 119.8 kB / 0.8051 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003533/0.3124, allocations: 4.028 MB / 0.809 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004278/0.3128, allocations: 31.97 kB / 0.8091 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/0.3129, allocations: 24 kB / 0.8091 GB, free: 1.68 MB / 0.6231 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.0002808/0.3132, allocations: 193.8 kB / 0.8093 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.3133, allocations: 47.44 kB / 0.8093 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008928/0.3142, allocations: 0.5229 MB / 0.8098 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.3142, allocations: 8 kB / 0.8098 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3142, allocations: 4 kB / 0.8098 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.309e-06/0.3142, allocations: 3.984 kB / 0.8098 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.316, allocations: 1.279 MB / 0.8111 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.316, allocations: 0 / 0.8111 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.3163, allocations: 67.89 kB / 0.8112 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003145/0.3166, allocations: 94.78 kB / 0.8113 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.3166, allocations: 8 kB / 0.8113 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003315/0.32, allocations: 4.028 MB / 0.8152 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.32, allocations: 0.9375 kB / 0.8152 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.3211, allocations: 0.79 MB / 0.816 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.3213, allocations: 152.5 kB / 0.8161 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.269e-05/0.3214, allocations: 19.83 kB / 0.8161 GB, free: 9.863 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003064/0.3217, allocations: 19.98 kB / 0.8161 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.177e-05/0.3218, allocations: 39.89 kB / 0.8162 GB, free: 9.805 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.3218, allocations: 16 kB / 0.8162 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003514/0.3221, allocations: 275.1 kB / 0.8165 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.6e-07/0.3222, allocations: 288 / 0.8165 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008415/0.323, allocations: 124 kB / 0.8166 GB, free: 9.398 MB / 0.6387 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.000162/0.3232, allocations: 119.1 kB / 0.8167 GB, free: 9.27 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001227/0.3244, allocations: 0.806 MB / 0.8175 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3244, allocations: 0 / 0.8175 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006717/0.3251, allocations: 0.5513 MB / 0.818 GB, free: 7.836 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008724/0.326, allocations: 120.7 kB / 0.8181 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.3279, allocations: 1.076 MB / 0.8192 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006135/0.3285, allocations: 0.8627 MB / 0.82 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003491/0.3289, allocations: 104.5 kB / 0.8201 GB, free: 5.594 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.151e-05/0.329, allocations: 35.44 kB / 0.8202 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of SimCode: time 9.11e-07/0.329, allocations: 0 / 0.8202 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of Templates: time 0.01086/0.3398, allocations: 5.534 MB / 0.8256 GB, free: 80 kB / 0.6387 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)