Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.48/1.48, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001017/0.001018, allocations: 174.6 kB / 327.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.4 MB / 0.5786 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007902/0.0007904, allocations: 87.73 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003683, allocations: 14.28 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1818, allocations: 106.3 MB / 0.9015 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01322/0.195, allocations: 15.73 MB / 0.9168 GB, free: 47.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006567/0.2016, allocations: 5.726 MB / 0.9224 GB, free: 41.94 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006659/0.2023, allocations: 31.94 kB / 0.9224 GB, free: 41.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005643/0.2029, allocations: 293.9 kB / 0.9227 GB, free: 41.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.2042, allocations: 0.7747 MB / 0.9235 GB, free: 40.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.2056, allocations: 0.7737 MB / 0.9242 GB, free: 40.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003944/0.2095, allocations: 6.047 MB / 0.9301 GB, free: 34.01 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007244/0.2168, allocations: 6.745 MB / 0.9367 GB, free: 27.18 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001599/0.2184, allocations: 1.214 MB / 0.9379 GB, free: 25.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001912/0.2203, allocations: 1.803 MB / 0.9397 GB, free: 24.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002953/0.2207, allocations: 180 kB / 0.9398 GB, free: 23.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001544/0.2222, allocations: 0.9866 MB / 0.9408 GB, free: 22.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0009662/0.2232, allocations: 1.36 MB / 0.9421 GB, free: 21.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0009637/0.2242, allocations: 1.285 MB / 0.9434 GB, free: 20.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00311/0.2273, allocations: 5.104 MB / 0.9484 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.2273, allocations: 0 / 0.9484 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.274e-06/0.2273, allocations: 0 / 0.9484 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.746e-05/0.2274, allocations: 0 / 0.9484 GB, free: 15.21 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.003498/0.2309, allocations: 2.228 MB / 0.9506 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.2309, allocations: 12.03 kB / 0.9506 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002853/0.2338, allocations: 0.6575 MB / 0.9512 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/0.2356, allocations: 1.423 MB / 0.9526 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.396e-05/0.2357, allocations: 210 kB / 0.9528 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003165/0.236, allocations: 272.3 kB / 0.9531 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005549/0.2416, allocations: 4.712 MB / 0.9577 GB, free: 5.508 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.26e-05/0.2417, allocations: 7.922 kB / 0.9577 GB, free: 5.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00025/0.2419, allocations: 116 kB / 0.9578 GB, free: 5.387 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000135/0.2421, allocations: 148.6 kB / 0.9579 GB, free: 5.238 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004887/0.247, allocations: 4.089 MB / 0.9619 GB, free: 1.133 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01962/0.2666, allocations: 20.32 MB / 0.9818 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002985/0.2696, allocations: 1.891 MB / 0.9836 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.2706, allocations: 0.753 MB / 0.9843 GB, free: 8.039 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/0.2708, allocations: 113.7 kB / 0.9844 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.2708, allocations: 43.22 kB / 0.9845 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=77): time 3.276e-06/0.2708, allocations: 0 / 0.9845 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of matching and sorting (n=92): time 0.01742/0.2883, allocations: 5.279 MB / 0.9896 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.904e-05/0.2884, allocations: 137.5 kB / 0.9898 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.2895, allocations: 0.9686 MB / 0.9907 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.486e-05/0.2896, allocations: 45.64 kB / 0.9908 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000625/0.2902, allocations: 1.187 MB / 0.9919 GB, free: 168 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002872/0.2905, allocations: 335.4 kB / 0.9922 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.299e-05/0.2906, allocations: 35.94 kB / 0.9923 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001922/0.2908, allocations: 406.7 kB / 0.9927 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.292, allocations: 0.8627 MB / 0.9935 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/0.2936, allocations: 1.514 MB / 0.995 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002826/0.2964, allocations: 2.453 MB / 0.9974 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/0.2964, allocations: 8 kB / 0.9974 GB, free: 9.965 MB / 0.6511 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003587/0.3, allocations: 2.504 MB / 0.9998 GB, free: 7.453 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005241/0.3006, allocations: 0.7059 MB / 1.001 GB, free: 6.453 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/0.3006, allocations: 20 kB / 1.001 GB, free: 6.434 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.269e-05/0.3007, allocations: 39.98 kB / 1.001 GB, free: 6.395 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002334/0.303, allocations: 0.5148 MB / 1.001 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.267e-05/0.303, allocations: 47.8 kB / 1.001 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.3041, allocations: 151.6 kB / 1.001 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.3042, allocations: 91.91 kB / 1.001 GB, free: 5.594 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.3043, allocations: 4 kB / 1.001 GB, free: 5.59 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003231/0.3075, allocations: 2.39 MB / 1.004 GB, free: 3.195 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/0.3075, allocations: 20 kB / 1.004 GB, free: 3.176 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/0.3076, allocations: 32 kB / 1.004 GB, free: 3.145 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002178/0.3097, allocations: 0.5109 MB / 1.004 GB, free: 2.633 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.365e-05/0.3098, allocations: 44.2 kB / 1.004 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008853/0.3107, allocations: 135.7 kB / 1.004 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.3108, allocations: 87.98 kB / 1.005 GB, free: 2.371 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (211): * Single equations (assignments): 211 * 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.001864/0.3127, allocations: 1.218 MB / 1.006 GB, free: 1.141 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.3129, allocations: 98.81 kB / 1.006 GB, free: 1.043 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/0.3156, allocations: 1.833 MB / 1.008 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.3156, allocations: 12 kB / 1.008 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3156, allocations: 0 / 1.008 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.3156, allocations: 3.984 kB / 1.008 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/0.326, allocations: 9.041 MB / 1.016 GB, free: 5.105 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/0.326, allocations: 12 kB / 1.016 GB, free: 5.094 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.3271, allocations: 251.6 kB / 1.017 GB, free: 4.848 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.617e-05/0.3271, allocations: 15.94 kB / 1.017 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.466e-05/0.3272, allocations: 28.59 kB / 1.017 GB, free: 4.805 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.831e-05/0.3272, allocations: 27.92 kB / 1.017 GB, free: 4.777 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-05/0.3272, allocations: 15.94 kB / 1.017 GB, free: 4.762 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/0.3292, allocations: 1.77 MB / 1.018 GB, free: 2.844 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005143/0.3297, allocations: 331.7 kB / 1.019 GB, free: 2.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.3298, allocations: 28 kB / 1.019 GB, free: 2.473 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006988/0.3305, allocations: 75.89 kB / 1.019 GB, free: 2.398 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.3307, allocations: 91.61 kB / 1.019 GB, free: 2.309 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-05/0.3308, allocations: 40 kB / 1.019 GB, free: 2.27 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009399/0.3317, allocations: 0.7254 MB / 1.02 GB, free: 1.547 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3317, allocations: 0 / 1.02 GB, free: 1.547 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002481/0.3342, allocations: 0.8047 MB / 1.021 GB, free: 0.7422 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (89): * Single equations (assignments): 89 * 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.0002924/0.3345, allocations: 166.9 kB / 1.021 GB, free: 0.5664 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004174/0.3387, allocations: 2.967 MB / 1.024 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.3387, allocations: 0 / 1.024 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007748/0.3395, allocations: 0.5842 MB / 1.024 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/0.3416, allocations: 177.8 kB / 1.024 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007766/0.3494, allocations: 6.014 MB / 1.03 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002126/0.3515, allocations: 2.18 MB / 1.032 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005121/0.352, allocations: 107.4 kB / 1.032 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of SimCode: time 7.11e-07/0.352, allocations: 0 / 1.032 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of Templates: time 0.3583/0.7104, allocations: 26.61 MB / 1.058 GB, free: 137 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)