Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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 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: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008385/0.0008383, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009348/0.0009348, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001819/0.001819, allocations: 262.5 kB / 291.3 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9427/0.9427, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000432/0.0004322, allocations: 15.31 kB / 0.598 GB, free: 28.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1764, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01662/0.1931, allocations: 15.12 MB / 0.6993 GB, free: 292 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009681/0.2028, allocations: 5.927 MB / 0.705 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/0.2044, allocations: 39.88 kB / 0.7051 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008488/0.2053, allocations: 313.7 kB / 0.7054 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001606/0.2069, allocations: 0.6523 MB / 0.706 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002432/0.2094, allocations: 0.825 MB / 0.7068 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004852/0.2142, allocations: 4.431 MB / 0.7112 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007917/0.2222, allocations: 5.249 MB / 0.7163 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002383/0.2246, allocations: 1.152 MB / 0.7174 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002661/0.2272, allocations: 1.679 MB / 0.719 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00036/0.2276, allocations: 164 kB / 0.7192 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.2288, allocations: 395.6 kB / 0.7196 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001418/0.2302, allocations: 1.216 MB / 0.7208 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007306/0.231, allocations: 0.5005 MB / 0.7213 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00479/0.2357, allocations: 4.64 MB / 0.7258 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.2358, allocations: 0 / 0.7258 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.525e-06/0.2358, allocations: 0 / 0.7258 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001367/0.2359, allocations: 4 kB / 0.7258 GB, free: 5.016 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.005259/0.2412, allocations: 2.219 MB / 0.728 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.2412, allocations: 12.03 kB / 0.728 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003786/0.245, allocations: 0.793 MB / 0.7287 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/0.2474, allocations: 1.391 MB / 0.7301 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.2475, allocations: 193.2 kB / 0.7303 GB, free: 312 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003963/0.2479, allocations: 248 kB / 0.7305 GB, free: 64 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007566/0.2555, allocations: 4.569 MB / 0.735 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-05/0.2556, allocations: 7.938 kB / 0.735 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002837/0.2559, allocations: 112 kB / 0.7351 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002081/0.2561, allocations: 172.3 kB / 0.7353 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006948/0.2631, allocations: 3.819 MB / 0.739 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02714/0.2903, allocations: 21.43 MB / 0.7599 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002528/0.2928, allocations: 2.249 MB / 0.7621 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.294, allocations: 0.7168 MB / 0.7628 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.733e-05/0.2941, allocations: 12.86 kB / 0.7628 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.2941, allocations: 50.5 kB / 0.7629 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=62): time 2.846e-06/0.2941, allocations: 0 / 0.7629 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=68): time 0.006505/0.3006, allocations: 4.188 MB / 0.767 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.3008, allocations: 247.5 kB / 0.7672 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.3024, allocations: 1.104 MB / 0.7683 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.789e-05/0.3025, allocations: 37.7 kB / 0.7683 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008212/0.3033, allocations: 1.183 MB / 0.7695 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/0.3036, allocations: 256.6 kB / 0.7697 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.456e-05/0.3037, allocations: 28 kB / 0.7697 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000214/0.3039, allocations: 410.7 kB / 0.7701 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000971/0.3049, allocations: 0.6987 MB / 0.7708 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/0.3065, allocations: 1.395 MB / 0.7722 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.3078, allocations: 0.9756 MB / 0.7731 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/0.3078, allocations: 11.98 kB / 0.7731 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.3553/0.6631, allocations: 2.164 MB / 0.7753 GB, free: 85.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003855/0.6636, allocations: 0.7909 MB / 0.776 GB, free: 84.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.56e-05/0.6636, allocations: 24.06 kB / 0.7761 GB, free: 84.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.383e-05/0.6637, allocations: 36.22 kB / 0.7761 GB, free: 84.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.6652, allocations: 435.1 kB / 0.7765 GB, free: 84.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.225e-05/0.6653, allocations: 52.78 kB / 0.7766 GB, free: 84.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.6665, allocations: 189.4 kB / 0.7767 GB, free: 84.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.6666, allocations: 86.27 kB / 0.7768 GB, free: 84.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.6666, allocations: 4.156 kB / 0.7768 GB, free: 84.5 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00305/0.6697, allocations: 1.841 MB / 0.7786 GB, free: 84.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.738e-05/0.6698, allocations: 28.41 kB / 0.7786 GB, free: 84.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.743e-05/0.6698, allocations: 36.34 kB / 0.7787 GB, free: 84.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.671, allocations: 388.3 kB / 0.779 GB, free: 84.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.028e-05/0.671, allocations: 50.47 kB / 0.7791 GB, free: 84.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000892/0.6719, allocations: 131.9 kB / 0.7792 GB, free: 84.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.6721, allocations: 82.55 kB / 0.7793 GB, free: 84.36 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * 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.001745/0.6738, allocations: 1.131 MB / 0.7804 GB, free: 84.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003193/0.6741, allocations: 111.8 kB / 0.7805 GB, free: 84.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.6757, allocations: 1.097 MB / 0.7816 GB, free: 83.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.6757, allocations: 9.5 kB / 0.7816 GB, free: 83.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.6757, allocations: 7.203 kB / 0.7816 GB, free: 83.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.719e-06/0.6757, allocations: 5.172 kB / 0.7816 GB, free: 83.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/0.6884, allocations: 10.17 MB / 0.7915 GB, free: 79.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-05/0.6885, allocations: 18.94 kB / 0.7916 GB, free: 79.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006252/0.6891, allocations: 197.2 kB / 0.7917 GB, free: 79.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.681e-05/0.6891, allocations: 21.61 kB / 0.7918 GB, free: 79.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.15e-05/0.6892, allocations: 34.59 kB / 0.7918 GB, free: 79.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.452e-05/0.6892, allocations: 28.7 kB / 0.7918 GB, free: 79.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-05/0.6892, allocations: 24.22 kB / 0.7918 GB, free: 79.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.6912, allocations: 2.152 MB / 0.7939 GB, free: 77.81 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004559/0.6916, allocations: 338.3 kB / 0.7943 GB, free: 77.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.6918, allocations: 38.17 kB / 0.7943 GB, free: 77.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008219/0.6926, allocations: 90.73 kB / 0.7944 GB, free: 77.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.6927, allocations: 98.34 kB / 0.7945 GB, free: 77.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.394e-05/0.6928, allocations: 37.66 kB / 0.7945 GB, free: 77.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009079/0.6937, allocations: 0.7646 MB / 0.7953 GB, free: 77.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.233e-06/0.6937, allocations: 0 / 0.7953 GB, free: 77.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003234/0.6969, allocations: 0.7284 MB / 0.796 GB, free: 77.21 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * 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.0002801/0.6972, allocations: 151.9 kB / 0.7961 GB, free: 77.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004015/0.7012, allocations: 2.463 MB / 0.7985 GB, free: 76.26 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.7013, allocations: 2.875 kB / 0.7985 GB, free: 76.26 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007225/0.702, allocations: 0.5676 MB / 0.7991 GB, free: 76.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/0.7039, allocations: 239.2 kB / 0.7993 GB, free: 76 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007473/0.7114, allocations: 5.315 MB / 0.8045 GB, free: 72.81 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002009/0.7134, allocations: 2.011 MB / 0.8065 GB, free: 71.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002148/0.7156, allocations: 0.851 MB / 0.8073 GB, free: 71.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.7159, allocations: 85.7 kB / 0.8074 GB, free: 71.58 MB / 0.5606 GB Notification: Performance of SimCode: time 1.052e-06/0.7159, allocations: 0 / 0.8074 GB, free: 71.58 MB / 0.5606 GB Notification: Performance of Templates: time 0.01939/0.7353, allocations: 13.43 MB / 0.8205 GB, free: 63.23 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)