Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 109.4 kB / 15.69 MB, free: 128 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.001219/0.001219, allocations: 187.7 kB / 16.62 MB, free: 6.613 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.519/1.519, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.824/1.824, allocations: 292.3 MB / 0.5489 GB, free: 12.75 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.00147/0.00147, allocations: 69.48 kB / 0.6723 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2563, allocations: 114.6 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004182/0.2605, allocations: 2.63 MB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002286/0.2628, allocations: 1.462 MB / 0.7881 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.263, allocations: 7.938 kB / 0.7881 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006759/0.2637, allocations: 167.3 kB / 0.7883 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003352/0.2641, allocations: 131.5 kB / 0.7884 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004634/0.2645, allocations: 183.4 kB / 0.7886 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002645/0.2648, allocations: 215.3 kB / 0.7888 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002863/0.2651, allocations: 121 kB / 0.7889 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.2652, allocations: 87.67 kB / 0.789 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.2655, allocations: 99.64 kB / 0.7891 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.2655, allocations: 15.94 kB / 0.7891 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002782/0.2658, allocations: 183.6 kB / 0.7893 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.675e-05/0.2659, allocations: 71.8 kB / 0.7893 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.825e-05/0.266, allocations: 75.61 kB / 0.7894 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000352/0.2663, allocations: 295 kB / 0.7897 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2663, allocations: 0 / 0.7897 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2664, allocations: 0 / 0.7897 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.2664, allocations: 0 / 0.7897 GB, free: 6.984 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006815/0.2671, allocations: 471.2 kB / 0.7902 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.2671, allocations: 8.031 kB / 0.7902 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005085/0.2676, allocations: 64.67 kB / 0.7902 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.2679, allocations: 236 kB / 0.7904 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.2679, allocations: 8.656 kB / 0.7905 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.85e-05/0.2679, allocations: 16.36 kB / 0.7905 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003928/0.2683, allocations: 279.6 kB / 0.7907 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.2684, allocations: 0 / 0.7907 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.2684, allocations: 8 kB / 0.7907 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.956e-05/0.2684, allocations: 16.22 kB / 0.7908 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003111/0.2688, allocations: 212.5 kB / 0.791 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.2704, allocations: 1.572 MB / 0.7925 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.2708, allocations: 323.2 kB / 0.7928 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.47e-05/0.2709, allocations: 65.69 kB / 0.7929 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.2709, allocations: 3.984 kB / 0.7929 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.2709, allocations: 38.5 kB / 0.7929 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.2709, allocations: 0 / 0.7929 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005599/0.2715, allocations: 253 kB / 0.7932 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.2716, allocations: 81.09 kB / 0.7932 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.2718, allocations: 196 kB / 0.7934 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.2718, allocations: 25.7 kB / 0.7934 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.628e-05/0.2719, allocations: 147.7 kB / 0.7936 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.2719, allocations: 47.39 kB / 0.7936 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.528e-05/0.272, allocations: 49.88 kB / 0.7937 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.2721, allocations: 326.8 kB / 0.794 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.2722, allocations: 72.81 kB / 0.7941 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.2724, allocations: 162.9 kB / 0.7942 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.2727, allocations: 223 kB / 0.7944 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2727, allocations: 3.938 kB / 0.7944 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003773/0.2731, allocations: 261.1 kB / 0.7947 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.2731, allocations: 10.66 kB / 0.7947 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2731, allocations: 0 / 0.7947 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.2731, allocations: 11.88 kB / 0.7947 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.2733, allocations: 55.91 kB / 0.7947 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.2734, allocations: 12.05 kB / 0.7948 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.2735, allocations: 16.36 kB / 0.7948 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.2735, allocations: 12 kB / 0.7948 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001493/0.2737, allocations: 160.1 kB / 0.7949 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001351/0.2738, allocations: 147.9 kB / 0.7951 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002165/0.2741, allocations: 227.8 kB / 0.7953 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.2741, allocations: 0 / 0.7953 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003155/0.2744, allocations: 237.2 kB / 0.7955 GB, free: 464 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.674e-06/0.2744, allocations: 4 kB / 0.7955 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.726e-06/0.2744, allocations: 4 kB / 0.7955 GB, free: 456 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.543e-06/0.2744, allocations: 4 kB / 0.7955 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.2746, allocations: 55.91 kB / 0.7956 GB, free: 396 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.2746, allocations: 11.88 kB / 0.7956 GB, free: 384 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.2747, allocations: 12.52 kB / 0.7956 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.2748, allocations: 16 kB / 0.7956 GB, free: 356 kB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.2749, allocations: 192.1 kB / 0.7958 GB, free: 156 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.595e-05/0.2749, allocations: 15.81 kB / 0.7958 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.2752, allocations: 139.1 kB / 0.796 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.2752, allocations: 11.92 kB / 0.796 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2752, allocations: 0 / 0.796 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2752, allocations: 0 / 0.796 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000889/0.2761, allocations: 0.7233 MB / 0.7967 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2762, allocations: 4.344 kB / 0.7967 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.2763, allocations: 27.92 kB / 0.7967 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.2763, allocations: 4 kB / 0.7967 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.2763, allocations: 8 kB / 0.7967 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.2763, allocations: 11.92 kB / 0.7967 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2763, allocations: 0 / 0.7967 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.2766, allocations: 370.3 kB / 0.7971 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.559e-05/0.2767, allocations: 108.9 kB / 0.7972 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.2767, allocations: 8 kB / 0.7972 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.2769, allocations: 7.984 kB / 0.7972 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.277, allocations: 15.92 kB / 0.7972 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.277, allocations: 8 kB / 0.7972 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001509/0.2771, allocations: 153.4 kB / 0.7974 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2771, allocations: 3.938 kB / 0.7974 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004972/0.2776, allocations: 64 kB / 0.7974 GB, free: 14.33 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001622/0.2778, allocations: 115.2 kB / 0.7975 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004057/0.2782, allocations: 268.9 kB / 0.7978 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2782, allocations: 64 / 0.7978 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 7.715e-05/0.2783, allocations: 71.77 kB / 0.7979 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.2788, allocations: 33.05 kB / 0.7979 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006902/0.2795, allocations: 423.2 kB / 0.7983 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.2798, allocations: 0.7363 MB / 0.799 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001782/0.28, allocations: 73.5 kB / 0.7991 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.2801, allocations: 23.42 kB / 0.7991 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.2801, allocations: 0 / 0.7991 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of Templates: time 0.004405/0.2845, allocations: 1.749 MB / 0.8008 GB, free: 10.79 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)