Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005793/0.005793, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001075/0.001075, allocations: 191.4 kB / 16.67 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00215/0.00215, allocations: 300.4 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9297/0.9297, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 99.83 kB / 0.681 GB, free: 7.465 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4778/0.4797, allocations: 86.97 MB / 0.7659 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.007237/0.487, allocations: 5.193 MB / 0.771 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003175/0.4902, allocations: 1.683 MB / 0.7726 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004321/0.4907, allocations: 23.88 kB / 0.7726 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002026/0.4927, allocations: 0.5135 MB / 0.7731 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000763/0.4935, allocations: 251 kB / 0.7734 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000671/0.4942, allocations: 235.5 kB / 0.7736 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001707/0.4959, allocations: 1.672 MB / 0.7752 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003585/0.4995, allocations: 2.532 MB / 0.7777 GB, free: 7.711 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001438/0.501, allocations: 0.7793 MB / 0.7785 GB, free: 6.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001609/0.5026, allocations: 0.9312 MB / 0.7794 GB, free: 5.996 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004612/0.5031, allocations: 188 kB / 0.7796 GB, free: 5.812 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008725/0.504, allocations: 319.8 kB / 0.7799 GB, free: 5.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001066/0.505, allocations: 0.7409 MB / 0.7806 GB, free: 4.758 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001181/0.5062, allocations: 0.7045 MB / 0.7813 GB, free: 4.051 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002405/0.5086, allocations: 2.661 MB / 0.7839 GB, free: 1.383 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.5087, allocations: 0 / 0.7839 GB, free: 1.383 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5087, allocations: 0 / 0.7839 GB, free: 1.383 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.865e-05/0.5087, allocations: 0 / 0.7839 GB, free: 1.383 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.002425/0.5112, allocations: 1.371 MB / 0.7852 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.5112, allocations: 8.031 kB / 0.7852 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002377/0.5115, allocations: 202.3 kB / 0.7854 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.5129, allocations: 307.2 kB / 0.7857 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.514, allocations: 0.7238 MB / 0.7864 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.302e-05/0.5141, allocations: 94.88 kB / 0.7865 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/0.5143, allocations: 120.4 kB / 0.7866 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003108/0.5174, allocations: 2.129 MB / 0.7887 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.5174, allocations: 0 / 0.7887 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/0.5176, allocations: 59.97 kB / 0.7888 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-05/0.5176, allocations: 62.06 kB / 0.7888 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002714/0.5204, allocations: 1.871 MB / 0.7906 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008267/0.5287, allocations: 7.655 MB / 0.7981 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.5288, allocations: 122.4 kB / 0.7982 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.404e-05/0.5289, allocations: 79.52 kB / 0.7983 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.529, allocations: 97.08 kB / 0.7984 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.5291, allocations: 42.48 kB / 0.7984 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.813e-06/0.5291, allocations: 0 / 0.7984 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.000508/0.5296, allocations: 268.8 kB / 0.7987 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/0.5297, allocations: 136.8 kB / 0.7988 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.5307, allocations: 0.916 MB / 0.7997 GB, free: 268 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.5307, allocations: 29.7 kB / 0.7998 GB, free: 232 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004413/0.5312, allocations: 0.7626 MB / 0.8005 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.571e-05/0.5312, allocations: 55.52 kB / 0.8005 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003184/0.5316, allocations: 266.5 kB / 0.8008 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.5317, allocations: 366.8 kB / 0.8012 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005434/0.5323, allocations: 430.3 kB / 0.8016 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009874/0.5333, allocations: 1.173 MB / 0.8027 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.5349, allocations: 1.598 MB / 0.8043 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.499e-05/0.535, allocations: 8 kB / 0.8043 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002252/0.5372, allocations: 1.534 MB / 0.8058 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/0.5373, allocations: 20 kB / 0.8058 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.243e-05/0.5373, allocations: 28.83 kB / 0.8058 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.845e-05/0.5374, allocations: 36 kB / 0.8059 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007807/0.5381, allocations: 283.4 kB / 0.8061 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.51e-05/0.5382, allocations: 55.78 kB / 0.8062 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007559/0.539, allocations: 190.3 kB / 0.8064 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.502e-05/0.5391, allocations: 72 kB / 0.8064 GB, free: 8.609 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * 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 (147): * Single equations (assignments): 147 * 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.0006526/0.5397, allocations: 0.6335 MB / 0.807 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.5399, allocations: 59.34 kB / 0.8071 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.5401, allocations: 129.7 kB / 0.8072 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.5402, allocations: 7.984 kB / 0.8072 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5402, allocations: 0 / 0.8072 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.5402, allocations: 0 / 0.8072 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.5413, allocations: 0.7783 MB / 0.808 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.5413, allocations: 0 / 0.808 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/0.5413, allocations: 4 kB / 0.808 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.5414, allocations: 7.938 kB / 0.808 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.5414, allocations: 4.25 kB / 0.808 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.5414, allocations: 4 kB / 0.808 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5414, allocations: 0 / 0.808 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.5416, allocations: 365.4 kB / 0.8084 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.5418, allocations: 136.4 kB / 0.8085 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.224e-05/0.5419, allocations: 4 kB / 0.8085 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.5421, allocations: 15.97 kB / 0.8085 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.5422, allocations: 3.938 kB / 0.8085 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.5422, allocations: 7.938 kB / 0.8085 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007188/0.5429, allocations: 0.6395 MB / 0.8092 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5429, allocations: 0 / 0.8092 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001066/0.544, allocations: 279 kB / 0.8094 GB, free: 5.426 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.0005132/0.5445, allocations: 0.8979 MB / 0.8103 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009651/0.5455, allocations: 0.7241 MB / 0.811 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5455, allocations: 3.938 kB / 0.811 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.505e-05/0.5455, allocations: 15.98 kB / 0.811 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005709/0.5461, allocations: 51.55 kB / 0.8111 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.5564, allocations: 8.063 MB / 0.8189 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/0.5575, allocations: 1.284 MB / 0.8202 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007541/0.5582, allocations: 361.2 kB / 0.8205 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003878/0.5586, allocations: 291.3 kB / 0.8208 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of SimCode: time 1.322e-06/0.5586, allocations: 0 / 0.8208 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03293/0.5916, allocations: 13.81 MB / 0.8343 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.506, allocations: 9.266 kB / 0.8343 GB, free: 11.24 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1)