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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",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.488/1.488, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001462/0.001462, allocations: 174.2 kB / 326.5 MB, free: 2.27 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.912/1.912, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.001001/0.001001, allocations: 96.58 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003552, allocations: 9.562 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2798, allocations: 106.3 MB / 0.9002 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.0134/0.2932, allocations: 14.62 MB / 0.9144 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007548/0.3009, allocations: 5.397 MB / 0.9197 GB, free: 43.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.3021, allocations: 39.88 kB / 0.9197 GB, free: 43.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008015/0.3029, allocations: 322.2 kB / 0.92 GB, free: 43.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001697/0.3046, allocations: 466.5 kB / 0.9205 GB, free: 43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002229/0.3068, allocations: 0.6394 MB / 0.9211 GB, free: 42.36 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002176/0.309, allocations: 1.606 MB / 0.9227 GB, free: 40.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006961/0.316, allocations: 5.881 MB / 0.9284 GB, free: 34.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001735/0.3178, allocations: 0.9698 MB / 0.9294 GB, free: 33.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001524/0.3193, allocations: 1.126 MB / 0.9305 GB, free: 32.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002542/0.3196, allocations: 184 kB / 0.9306 GB, free: 32.53 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.3209, allocations: 0.5579 MB / 0.9312 GB, free: 31.97 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0009147/0.3218, allocations: 1.252 MB / 0.9324 GB, free: 30.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004715/0.3223, allocations: 0.5161 MB / 0.9329 GB, free: 30.19 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003582/0.3259, allocations: 5.065 MB / 0.9379 GB, free: 25.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3259, allocations: 0 / 0.9379 GB, free: 25.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.965e-06/0.3259, allocations: 0 / 0.9379 GB, free: 25.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001015/0.3261, allocations: 0 / 0.9379 GB, free: 25.11 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.004593/0.3307, allocations: 2.252 MB / 0.9401 GB, free: 22.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.3307, allocations: 8.031 kB / 0.9401 GB, free: 22.79 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000533/0.3313, allocations: 428.8 kB / 0.9405 GB, free: 22.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003122/0.3344, allocations: 0.719 MB / 0.9412 GB, free: 21.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002793/0.3372, allocations: 1.406 MB / 0.9426 GB, free: 20.19 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.3373, allocations: 209.6 kB / 0.9428 GB, free: 19.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003626/0.3377, allocations: 275.9 kB / 0.943 GB, free: 19.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006813/0.3445, allocations: 4.676 MB / 0.9476 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.624e-05/0.3446, allocations: 0 / 0.9476 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002576/0.3449, allocations: 116 kB / 0.9477 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001396/0.345, allocations: 148.6 kB / 0.9478 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005617/0.3506, allocations: 4.07 MB / 0.9518 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02321/0.3739, allocations: 20.43 MB / 0.9718 GB, free: 4.195 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003259/0.3772, allocations: 1.935 MB / 0.9736 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/0.3774, allocations: 113.7 kB / 0.9738 GB, free: 1.988 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.3774, allocations: 43.16 kB / 0.9738 GB, free: 1.938 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=77): time 3.456e-06/0.3775, allocations: 4 kB / 0.9738 GB, free: 1.934 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77): time 0.002633/0.3801, allocations: 1.699 MB / 0.9755 GB, free: 232 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.962e-05/0.3802, allocations: 149 kB / 0.9756 GB, free: 52 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.3816, allocations: 0.9645 MB / 0.9765 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.206e-05/0.3817, allocations: 37.7 kB / 0.9766 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001006/0.3827, allocations: 1.183 MB / 0.9777 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003035/0.383, allocations: 284.5 kB / 0.978 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.846e-05/0.3831, allocations: 36 kB / 0.978 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002519/0.3834, allocations: 394.8 kB / 0.9784 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.3846, allocations: 0.7807 MB / 0.9792 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001748/0.3864, allocations: 1.409 MB / 0.9806 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/0.3879, allocations: 1.096 MB / 0.9816 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.299e-05/0.3879, allocations: 8 kB / 0.9816 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.003522/0.3914, allocations: 2.3 MB / 0.9839 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.004553/0.396, allocations: 8.355 MB / 0.992 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.416e-05/0.3961, allocations: 20 kB / 0.9921 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.218e-05/0.3961, allocations: 32 kB / 0.9921 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/0.398, allocations: 443.2 kB / 0.9925 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.505e-05/0.3981, allocations: 51.75 kB / 0.9926 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.3993, allocations: 262 kB / 0.9928 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.3995, allocations: 83.92 kB / 0.9929 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.3995, allocations: 4 kB / 0.9929 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00327/0.4028, allocations: 2.202 MB / 0.995 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-05/0.4028, allocations: 20 kB / 0.9951 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.759e-05/0.4029, allocations: 35.98 kB / 0.9951 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.4044, allocations: 443.2 kB / 0.9955 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.033e-05/0.4045, allocations: 43.86 kB / 0.9956 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009394/0.4054, allocations: 199.2 kB / 0.9958 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.4056, allocations: 76 kB / 0.9958 GB, free: 10.33 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 (196): * Single equations (assignments): 196 * 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.002086/0.4077, allocations: 1.207 MB / 0.997 GB, free: 9.113 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002567/0.4079, allocations: 86.97 kB / 0.9971 GB, free: 9.027 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002671/0.4106, allocations: 1.552 MB / 0.9986 GB, free: 7.43 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.4106, allocations: 8 kB / 0.9986 GB, free: 7.422 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.4106, allocations: 0 / 0.9986 GB, free: 7.422 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.4107, allocations: 7.984 kB / 0.9986 GB, free: 7.414 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/0.4224, allocations: 6.606 MB / 1.005 GB, free: 204 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.028e-05/0.4225, allocations: 8.969 kB / 1.005 GB, free: 196 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007676/0.4232, allocations: 191.7 kB / 1.005 GB, free: 4 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.781e-05/0.4233, allocations: 16.05 kB / 1.005 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-05/0.4234, allocations: 24 kB / 1.005 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.321e-05/0.4234, allocations: 19.88 kB / 1.005 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/0.4234, allocations: 11.95 kB / 1.005 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002702/0.4261, allocations: 1.971 MB / 1.007 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007912/0.4269, allocations: 327.7 kB / 1.008 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002448/0.4272, allocations: 23.94 kB / 1.008 GB, free: 13.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000772/0.428, allocations: 75.89 kB / 1.008 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.4281, allocations: 67.78 kB / 1.008 GB, free: 13.13 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.956e-05/0.4282, allocations: 32 kB / 1.008 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001186/0.4294, allocations: 0.7254 MB / 1.008 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4294, allocations: 0 / 1.008 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004873/0.4343, allocations: 1.181 MB / 1.01 GB, free: 11.19 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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 (71): * Single equations (assignments): 71 * 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.004054/0.4383, allocations: 4.888 MB / 1.014 GB, free: 6.047 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004499/0.4428, allocations: 2.719 MB / 1.017 GB, free: 3.34 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.4429, allocations: 0 / 1.017 GB, free: 3.34 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007109/0.4436, allocations: 0.5172 MB / 1.018 GB, free: 2.824 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.4446, allocations: 156.5 kB / 1.018 GB, free: 2.68 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0262/0.4709, allocations: 24.41 MB / 1.042 GB, free: 9.605 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003411/0.4743, allocations: 2.124 MB / 1.044 GB, free: 7.449 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002676/0.477, allocations: 0.9565 MB / 1.045 GB, free: 6.488 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001244/0.4783, allocations: 0.7258 MB / 1.045 GB, free: 5.762 MB / 0.698 GB Notification: Performance of SimCode: time 1.193e-06/0.4783, allocations: 0 / 1.045 GB, free: 5.762 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5152/0.9936, allocations: 26.64 MB / 1.071 GB, free: 133.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/0.9938, allocations: 212.8 kB / 1.071 GB, free: 133.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.424/3.418, allocations: 0 / 1.071 GB, free: 133.6 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)