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.0009561/0.0009559, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001053/0.001054, allocations: 177.3 kB / 15.95 MB, free: 216 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.431/1.431, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.67/1.67, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0004588/0.0004588, allocations: 16.41 kB / 0.6735 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2294, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.003434/0.2329, allocations: 2.247 MB / 0.7893 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002011/0.235, allocations: 1.334 MB / 0.7906 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.301e-05/0.2351, allocations: 4 kB / 0.7906 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.2352, allocations: 19.84 kB / 0.7906 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.2355, allocations: 87.72 kB / 0.7907 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.2359, allocations: 139.6 kB / 0.7909 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.2361, allocations: 127.8 kB / 0.791 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004889/0.2366, allocations: 222 kB / 0.7912 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.2367, allocations: 59.77 kB / 0.7912 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.2369, allocations: 67.73 kB / 0.7913 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.2369, allocations: 8 kB / 0.7913 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.2371, allocations: 103.8 kB / 0.7914 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.318e-05/0.2372, allocations: 51.83 kB / 0.7915 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.2373, allocations: 53.64 kB / 0.7915 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002602/0.2375, allocations: 207.8 kB / 0.7917 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.2376, allocations: 4 kB / 0.7917 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2376, allocations: 0 / 0.7917 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2376, allocations: 0 / 0.7917 GB, free: 7.23 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.0006102/0.2382, allocations: 439.1 kB / 0.7921 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.2382, allocations: 11.97 kB / 0.7921 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000503/0.2387, allocations: 83.58 kB / 0.7922 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.239, allocations: 222.8 kB / 0.7924 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.239, allocations: 20.2 kB / 0.7925 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.239, allocations: 19.98 kB / 0.7925 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003771/0.2394, allocations: 267.7 kB / 0.7927 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.2394, allocations: 0 / 0.7927 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.2395, allocations: 11.98 kB / 0.7927 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.643e-05/0.2395, allocations: 20.22 kB / 0.7928 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/0.2398, allocations: 208.5 kB / 0.793 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.2414, allocations: 1.572 MB / 0.7945 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003722/0.2418, allocations: 323.2 kB / 0.7948 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.2418, allocations: 4.141 kB / 0.7948 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.2419, allocations: 34.52 kB / 0.7948 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.2419, allocations: 4 kB / 0.7948 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005125/0.2424, allocations: 241 kB / 0.7951 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.2424, allocations: 77.11 kB / 0.7952 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.2426, allocations: 199.9 kB / 0.7953 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.2427, allocations: 25.7 kB / 0.7954 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.2428, allocations: 151.7 kB / 0.7955 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.2428, allocations: 51.31 kB / 0.7956 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.223e-05/0.2428, allocations: 4.188 kB / 0.7956 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2429, allocations: 330.8 kB / 0.7959 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.2431, allocations: 67.95 kB / 0.7959 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.2432, allocations: 150.6 kB / 0.7961 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.2434, allocations: 95.89 kB / 0.7962 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.2434, allocations: 4 kB / 0.7962 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003436/0.2437, allocations: 249.3 kB / 0.7964 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004449/0.2442, allocations: 1.134 MB / 0.7975 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.2442, allocations: 4.078 kB / 0.7975 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.2442, allocations: 4 kB / 0.7975 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.2444, allocations: 51.91 kB / 0.7976 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/0.2445, allocations: 19.84 kB / 0.7976 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.2446, allocations: 15.98 kB / 0.7976 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.2447, allocations: 12 kB / 0.7976 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/0.2447, allocations: 4 kB / 0.7976 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002653/0.2449, allocations: 191.7 kB / 0.7978 GB, free: 484 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.245, allocations: 7.984 kB / 0.7978 GB, free: 476 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.404e-06/0.245, allocations: 4 kB / 0.7978 GB, free: 472 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.2451, allocations: 47.92 kB / 0.7979 GB, free: 424 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.2451, allocations: 16.25 kB / 0.7979 GB, free: 408 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.807e-05/0.2452, allocations: 11.91 kB / 0.7979 GB, free: 396 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.2453, allocations: 12 kB / 0.7979 GB, free: 384 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001376/0.2454, allocations: 217 kB / 0.7981 GB, free: 156 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/0.2455, allocations: 19.83 kB / 0.7981 GB, free: 136 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.2457, allocations: 146.9 kB / 0.7983 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2457, allocations: 0 / 0.7983 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.2458, allocations: 3.953 kB / 0.7983 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2458, allocations: 0 / 0.7983 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008469/0.2466, allocations: 0.7277 MB / 0.799 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2466, allocations: 7.938 kB / 0.799 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.683e-05/0.2467, allocations: 24.11 kB / 0.799 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.2467, allocations: 4 kB / 0.799 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.2468, allocations: 4 kB / 0.799 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.2468, allocations: 7.938 kB / 0.799 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.2468, allocations: 4 kB / 0.799 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/0.2471, allocations: 495.4 kB / 0.7995 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.86e-05/0.2472, allocations: 112.9 kB / 0.7996 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.2473, allocations: 7.953 kB / 0.7996 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.2474, allocations: 11.98 kB / 0.7996 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.2475, allocations: 7.984 kB / 0.7996 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.2475, allocations: 12 kB / 0.7997 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001201/0.2476, allocations: 145.4 kB / 0.7998 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.385e-06/0.2476, allocations: 0 / 0.7998 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004938/0.2481, allocations: 75.94 kB / 0.7999 GB, free: 14.14 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001772/0.2483, allocations: 111.2 kB / 0.8 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000424/0.2487, allocations: 260.9 kB / 0.8002 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.2488, allocations: 4.125 kB / 0.8002 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 8.088e-05/0.2488, allocations: 63.84 kB / 0.8003 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.2492, allocations: 30.55 kB / 0.8003 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007436/0.25, allocations: 0.4899 MB / 0.8008 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.2503, allocations: 0.744 MB / 0.8015 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001875/0.2505, allocations: 69.47 kB / 0.8016 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.907e-05/0.2506, allocations: 19.44 kB / 0.8016 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of SimCode: time 3.31e-07/0.2506, allocations: 0 / 0.8016 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of Templates: time 0.004248/0.2548, allocations: 1.63 MB / 0.8032 GB, free: 10.66 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: