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.0007789/0.0007789, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0009272/0.0009274, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.4 MB / 222.1 MB, free: 5.613 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.669/1.669, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0004716/0.0004716, allocations: 11.12 kB / 0.6737 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2369, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004741/0.2417, allocations: 3.76 MB / 0.791 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003533/0.2453, allocations: 2.266 MB / 0.7932 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003321/0.2457, allocations: 15.88 kB / 0.7932 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.2459, allocations: 63.42 kB / 0.7933 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008422/0.2468, allocations: 290.5 kB / 0.7935 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006866/0.2475, allocations: 235.4 kB / 0.7938 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007771/0.2483, allocations: 0.7295 MB / 0.7945 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007045/0.249, allocations: 418.8 kB / 0.7949 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.2493, allocations: 215.1 kB / 0.7951 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003077/0.2496, allocations: 258.9 kB / 0.7953 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.2496, allocations: 20 kB / 0.7953 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004108/0.2501, allocations: 215.7 kB / 0.7955 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.2502, allocations: 119.6 kB / 0.7957 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.719e-05/0.2503, allocations: 113.4 kB / 0.7958 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005142/0.2508, allocations: 0.534 MB / 0.7963 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2508, allocations: 0 / 0.7963 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2508, allocations: 0 / 0.7963 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.2508, allocations: 0 / 0.7963 GB, free: 2.648 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.0009161/0.2518, allocations: 0.7091 MB / 0.797 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.2518, allocations: 8.031 kB / 0.797 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.253, allocations: 183.1 kB / 0.7972 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005092/0.2535, allocations: 399.4 kB / 0.7975 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.2536, allocations: 24.98 kB / 0.7976 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.185e-05/0.2536, allocations: 35.98 kB / 0.7976 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008369/0.2545, allocations: 0.6467 MB / 0.7982 GB, free: 480 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.2545, allocations: 4 kB / 0.7982 GB, free: 476 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/0.2546, allocations: 23.94 kB / 0.7983 GB, free: 452 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.06e-05/0.2546, allocations: 55.91 kB / 0.7983 GB, free: 396 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006635/0.2553, allocations: 500 kB / 0.7988 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002885/0.2582, allocations: 3.778 MB / 0.8025 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.2597, allocations: 0.6363 MB / 0.8031 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.26, allocations: 178.4 kB / 0.8033 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.26, allocations: 4 kB / 0.8033 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.2601, allocations: 42.56 kB / 0.8033 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=30): time 1.763e-06/0.2601, allocations: 0 / 0.8033 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002001/0.2621, allocations: 1.276 MB / 0.8046 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.2621, allocations: 106.8 kB / 0.8047 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/0.2625, allocations: 393.7 kB / 0.805 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.2626, allocations: 29.7 kB / 0.8051 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.2627, allocations: 283.5 kB / 0.8053 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.589e-05/0.2628, allocations: 118.3 kB / 0.8054 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.978e-05/0.2628, allocations: 8 kB / 0.8055 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.263, allocations: 362.8 kB / 0.8058 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.2632, allocations: 173 kB / 0.806 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.2636, allocations: 367.2 kB / 0.8063 GB, free: 7.664 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/0.2639, allocations: 240.1 kB / 0.8065 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2639, allocations: 1.688 kB / 0.8065 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009423/0.2648, allocations: 0.679 MB / 0.8072 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.2649, allocations: 4 kB / 0.8072 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.2649, allocations: 8 kB / 0.8072 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003224/0.2652, allocations: 98.44 kB / 0.8073 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/0.2656, allocations: 115.8 kB / 0.8074 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002978/0.2686, allocations: 4.021 MB / 0.8114 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.2689, allocations: 35.92 kB / 0.8114 GB, free: 2.051 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/0.2689, allocations: 24 kB / 0.8114 GB, free: 2.027 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002396/0.2692, allocations: 201 kB / 0.8116 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.576e-05/0.2693, allocations: 47.44 kB / 0.8116 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000808/0.2701, allocations: 0.5227 MB / 0.8122 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.2701, allocations: 7.984 kB / 0.8122 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.2701, allocations: 11.98 kB / 0.8122 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.2701, allocations: 0 / 0.8122 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.2718, allocations: 1.279 MB / 0.8134 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.2718, allocations: 7.953 kB / 0.8134 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.272, allocations: 55.91 kB / 0.8135 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002236/0.2722, allocations: 90.5 kB / 0.8136 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.2723, allocations: 16.28 kB / 0.8136 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002998/0.2753, allocations: 4.02 MB / 0.8175 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.2753, allocations: 8.016 kB / 0.8175 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.2763, allocations: 0.7783 MB / 0.8183 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/0.2765, allocations: 152.5 kB / 0.8184 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.942e-05/0.2766, allocations: 8 kB / 0.8184 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.2769, allocations: 27.92 kB / 0.8185 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.534e-05/0.2769, allocations: 31.91 kB / 0.8185 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.277, allocations: 16 kB / 0.8185 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002995/0.2773, allocations: 271.1 kB / 0.8188 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.71e-07/0.2773, allocations: 0 / 0.8188 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006783/0.278, allocations: 128 kB / 0.8189 GB, free: 9.766 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001549/0.2781, allocations: 115.2 kB / 0.819 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001117/0.2793, allocations: 0.7981 MB / 0.8198 GB, free: 8.805 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.2793, allocations: 288 / 0.8198 GB, free: 8.805 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000638/0.2799, allocations: 0.5475 MB / 0.8203 GB, free: 8.219 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008125/0.2807, allocations: 131.2 kB / 0.8204 GB, free: 8.098 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.2821, allocations: 1.062 MB / 0.8215 GB, free: 6.98 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004998/0.2826, allocations: 0.8625 MB / 0.8223 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002605/0.2829, allocations: 105.1 kB / 0.8224 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.209e-05/0.283, allocations: 35.44 kB / 0.8225 GB, free: 5.953 MB / 0.6387 GB Notification: Performance of SimCode: time 3.71e-07/0.283, allocations: 4 kB / 0.8225 GB, free: 5.949 MB / 0.6387 GB Notification: Performance of Templates: time 0.009317/0.2923, allocations: 5.297 MB / 0.8276 GB, free: 0.7031 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: