Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.667/1.667, allocations: 252 MB / 267 MB, free: 10.96 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.001047/0.001047, allocations: 186.2 kB / 326.6 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.4 MB / 0.5777 GB, free: 20.52 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.00118/0.00118, allocations: 87.98 kB / 0.6822 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003285, allocations: 8.719 kB / 0.7965 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2506, allocations: 106.3 MB / 0.9003 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01493/0.2656, allocations: 14.53 MB / 0.9145 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008568/0.2743, allocations: 4.624 MB / 0.919 GB, free: 44.97 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001733/0.276, allocations: 55.69 kB / 0.9191 GB, free: 44.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008489/0.2769, allocations: 250 kB / 0.9193 GB, free: 44.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002154/0.2791, allocations: 0.5792 MB / 0.9199 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.2811, allocations: 0.4976 MB / 0.9204 GB, free: 43.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004488/0.2856, allocations: 4.101 MB / 0.9244 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008015/0.2936, allocations: 4.943 MB / 0.9292 GB, free: 34.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002607/0.2963, allocations: 1.109 MB / 0.9303 GB, free: 33.37 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00269/0.299, allocations: 1.468 MB / 0.9317 GB, free: 31.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0004686/0.2995, allocations: 144 kB / 0.9318 GB, free: 31.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.3009, allocations: 399.5 kB / 0.9322 GB, free: 31.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001189/0.3021, allocations: 1.064 MB / 0.9333 GB, free: 30.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0007257/0.3029, allocations: 496.5 kB / 0.9337 GB, free: 29.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004287/0.3072, allocations: 4.267 MB / 0.9379 GB, free: 25.53 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.3072, allocations: 3.938 kB / 0.9379 GB, free: 25.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.177e-05/0.3072, allocations: 0 / 0.9379 GB, free: 25.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000124/0.3074, allocations: 0 / 0.9379 GB, free: 25.52 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.006036/0.3134, allocations: 2.194 MB / 0.9401 GB, free: 23.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.3135, allocations: 8.031 kB / 0.9401 GB, free: 23.26 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001091/0.3146, allocations: 382.2 kB / 0.9404 GB, free: 22.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005364/0.32, allocations: 0.8358 MB / 0.9412 GB, free: 22.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004041/0.324, allocations: 1.473 MB / 0.9427 GB, free: 20.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.3242, allocations: 180.8 kB / 0.9429 GB, free: 20.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006422/0.3249, allocations: 232 kB / 0.9431 GB, free: 20.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/0.335, allocations: 4.142 MB / 0.9471 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.922e-05/0.3351, allocations: 7.938 kB / 0.9471 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003866/0.3355, allocations: 95.98 kB / 0.9472 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002769/0.3358, allocations: 180.5 kB / 0.9474 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008679/0.3445, allocations: 3.625 MB / 0.9509 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02502/0.3695, allocations: 16.54 MB / 0.9671 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004778/0.3744, allocations: 2.303 MB / 0.9693 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/0.3757, allocations: 0.5741 MB / 0.9699 GB, free: 6.848 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/0.3759, allocations: 101.6 kB / 0.97 GB, free: 6.727 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.3759, allocations: 47.06 kB / 0.97 GB, free: 6.672 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=72): time 3.507e-06/0.3759, allocations: 0 / 0.97 GB, free: 6.672 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76): time 0.008167/0.3841, allocations: 3.444 MB / 0.9734 GB, free: 3.125 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.473e-05/0.3842, allocations: 111.5 kB / 0.9735 GB, free: 2.992 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/0.3862, allocations: 1.014 MB / 0.9745 GB, free: 1.953 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.87e-05/0.3863, allocations: 37.7 kB / 0.9745 GB, free: 1.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001115/0.3874, allocations: 1.107 MB / 0.9756 GB, free: 0.7852 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003358/0.3878, allocations: 276.2 kB / 0.9759 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.3879, allocations: 24 kB / 0.9759 GB, free: 500 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.00028/0.3882, allocations: 406.7 kB / 0.9763 GB, free: 84 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/0.3896, allocations: 0.6167 MB / 0.9769 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001854/0.3914, allocations: 1.197 MB / 0.9781 GB, free: 14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/0.3932, allocations: 0.8579 MB / 0.9789 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.3932, allocations: 8 kB / 0.9789 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00452/0.3978, allocations: 2.018 MB / 0.9809 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/0.3978, allocations: 12 kB / 0.9809 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.288e-05/0.3979, allocations: 20 kB / 0.9809 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005631/0.3984, allocations: 164 kB / 0.9811 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001595/0.4001, allocations: 351.4 kB / 0.9814 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.124e-05/0.4001, allocations: 43.8 kB / 0.9814 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.4016, allocations: 135.7 kB / 0.9816 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/0.4018, allocations: 68 kB / 0.9816 GB, free: 10.31 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002041/0.4038, allocations: 0.9771 MB / 0.9826 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003134/0.4041, allocations: 106.7 kB / 0.9827 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002763/0.4069, allocations: 1.241 MB / 0.9839 GB, free: 7.949 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.4069, allocations: 8 kB / 0.9839 GB, free: 7.941 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.407, allocations: 3.984 kB / 0.9839 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.407, allocations: 7.984 kB / 0.9839 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007715/0.4147, allocations: 3.808 MB / 0.9876 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.4147, allocations: 4 kB / 0.9876 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000879/0.4156, allocations: 163.7 kB / 0.9878 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00047/0.4161, allocations: 143.3 kB / 0.9879 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-05/0.4162, allocations: 16 kB / 0.9879 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.26e-05/0.4162, allocations: 7.984 kB / 0.988 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.4162, allocations: 8.031 kB / 0.988 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002815/0.419, allocations: 1.468 MB / 0.9894 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006642/0.4197, allocations: 291.7 kB / 0.9897 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/0.4199, allocations: 20 kB / 0.9897 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008666/0.4208, allocations: 71.89 kB / 0.9898 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.421, allocations: 68.38 kB / 0.9898 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.026e-05/0.421, allocations: 20 kB / 0.9898 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001341/0.4224, allocations: 0.6874 MB / 0.9905 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4224, allocations: 0 / 0.9905 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001975/0.4244, allocations: 392.1 kB / 0.9909 GB, free: 0.5391 MB / 0.6355 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003205/0.4276, allocations: 2.041 MB / 0.9929 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003333/0.4309, allocations: 1.71 MB / 0.9946 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.431, allocations: 3.938 kB / 0.9946 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.4323, allocations: 0.8671 MB / 0.9954 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00204/0.4344, allocations: 249.5 kB / 0.9956 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02289/0.4573, allocations: 9.732 MB / 1.005 GB, free: 1.184 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002567/0.4599, allocations: 1.916 MB / 1.007 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001857/0.4618, allocations: 453.4 kB / 1.007 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/0.463, allocations: 0.7141 MB / 1.008 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of SimCode: time 8.51e-07/0.463, allocations: 3.938 kB / 1.008 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06906/0.5321, allocations: 26.99 MB / 1.035 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003936/0.5326, allocations: 238.5 kB / 1.035 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.487/3.02, allocations: 0 / 1.035 GB, free: 3.18 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)