Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.Loads.Examples.Loads,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",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.0008814/0.0008813, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005796/0.005797, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.28/1.28, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001665/0.001665, allocations: 266.4 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9212/0.9212, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003908/0.0003909, allocations: 18.12 kB / 0.5988 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1468, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.03491/0.1817, allocations: 36.01 MB / 0.7204 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01895/0.2007, allocations: 13.47 MB / 0.7336 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002689/0.2035, allocations: 95.62 kB / 0.7336 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.2049, allocations: 0.6012 MB / 0.7342 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002937/0.2078, allocations: 1.331 MB / 0.7355 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004094/0.2119, allocations: 1.935 MB / 0.7374 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008653/0.2206, allocations: 9.566 MB / 0.7468 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01622/0.2368, allocations: 11.93 MB / 0.7584 GB, free: 3.758 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0032/0.2401, allocations: 1.825 MB / 0.7602 GB, free: 1.926 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3281/0.5681, allocations: 2.701 MB / 0.7628 GB, free: 25.81 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0009487/0.5691, allocations: 253.8 kB / 0.7631 GB, free: 25.81 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002504/0.5716, allocations: 1.048 MB / 0.7641 GB, free: 25.81 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002467/0.5741, allocations: 1.999 MB / 0.7661 GB, free: 25.81 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002956/0.5771, allocations: 2.021 MB / 0.768 GB, free: 25.63 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.007848/0.5849, allocations: 8.676 MB / 0.7765 GB, free: 25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.585, allocations: 3 kB / 0.7765 GB, free: 25 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.104e-06/0.585, allocations: 1.125 kB / 0.7765 GB, free: 25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001711/0.5852, allocations: 0.6562 kB / 0.7765 GB, free: 25 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: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.007332/0.5925, allocations: 3.396 MB / 0.7798 GB, free: 23.52 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.5926, allocations: 13.16 kB / 0.7798 GB, free: 23.52 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001725/0.5943, allocations: 0.6415 MB / 0.7805 GB, free: 23.45 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004069/0.5984, allocations: 0.9458 MB / 0.7814 GB, free: 23.24 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003396/0.6018, allocations: 2.181 MB / 0.7835 GB, free: 22.79 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002063/0.602, allocations: 326.5 kB / 0.7838 GB, free: 22.77 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007401/0.6027, allocations: 428.5 kB / 0.7842 GB, free: 22.77 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01224/0.615, allocations: 7.367 MB / 0.7914 GB, free: 21.61 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001075/0.6151, allocations: 11.94 kB / 0.7914 GB, free: 21.61 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004664/0.6156, allocations: 183.2 kB / 0.7916 GB, free: 21.61 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003132/0.6159, allocations: 292.4 kB / 0.7919 GB, free: 21.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0138/0.6297, allocations: 5.965 MB / 0.7977 GB, free: 20.48 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04194/0.6717, allocations: 32.64 MB / 0.8296 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002934/0.6747, allocations: 2.111 MB / 0.8317 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/0.6761, allocations: 1.236 MB / 0.8329 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001686/0.6763, allocations: 99 kB / 0.833 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.6763, allocations: 54.34 kB / 0.833 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=98): time 2.565e-06/0.6763, allocations: 0 / 0.833 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of matching and sorting (n=101): time 0.007654/0.684, allocations: 5.235 MB / 0.8381 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.46e-05/0.6841, allocations: 145.3 kB / 0.8383 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002038/0.6861, allocations: 1.454 MB / 0.8397 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.6862, allocations: 43.83 kB / 0.8397 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001222/0.6875, allocations: 1.869 MB / 0.8416 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003704/0.6879, allocations: 376.6 kB / 0.8419 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003033/0.6882, allocations: 164.4 kB / 0.8421 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.597e-05/0.6883, allocations: 308.3 kB / 0.8424 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/0.6898, allocations: 1.107 MB / 0.8434 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002257/0.6921, allocations: 2.181 MB / 0.8456 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003859/0.696, allocations: 3.413 MB / 0.8489 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.884e-05/0.696, allocations: 8.594 kB / 0.8489 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004961/0.701, allocations: 3.312 MB / 0.8522 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008361/0.7018, allocations: 1.094 MB / 0.8532 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.047e-05/0.7019, allocations: 32 kB / 0.8533 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.162e-05/0.7019, allocations: 48 kB / 0.8533 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002048/0.704, allocations: 0.6218 MB / 0.8539 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.801e-05/0.7041, allocations: 66.78 kB / 0.854 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/0.7059, allocations: 310.7 kB / 0.8543 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001683/0.7061, allocations: 112 kB / 0.8544 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/0.7061, allocations: 7.984 kB / 0.8544 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003814/0.7099, allocations: 2.755 MB / 0.8571 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.326e-05/0.71, allocations: 32 kB / 0.8571 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.976e-05/0.71, allocations: 48.09 kB / 0.8571 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/0.7116, allocations: 0.5523 MB / 0.8577 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.409e-05/0.7117, allocations: 71.62 kB / 0.8578 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.713, allocations: 223.1 kB / 0.858 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/0.7132, allocations: 111.9 kB / 0.8581 GB, free: 2.852 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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.002837/0.716, allocations: 1.712 MB / 0.8597 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003224/0.7163, allocations: 161.7 kB / 0.8599 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003333/0.7197, allocations: 2.228 MB / 0.8621 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.7197, allocations: 8 kB / 0.8621 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.7197, allocations: 4 kB / 0.8621 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.7197, allocations: 7.922 kB / 0.8621 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01507/0.7348, allocations: 10.97 MB / 0.8728 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.223e-05/0.7349, allocations: 12.97 kB / 0.8728 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001488/0.7364, allocations: 397.3 kB / 0.8732 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.616e-05/0.7364, allocations: 16 kB / 0.8732 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/0.7365, allocations: 32 kB / 0.8732 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.17e-05/0.7366, allocations: 27.39 kB / 0.8733 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.285e-05/0.7366, allocations: 15.19 kB / 0.8733 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003454/0.74, allocations: 2.763 MB / 0.876 GB, free: 252 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009609/0.741, allocations: 474.7 kB / 0.8764 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003737/0.7414, allocations: 35.98 kB / 0.8765 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.7427, allocations: 163.7 kB / 0.8766 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002064/0.7429, allocations: 99.41 kB / 0.8767 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.741e-05/0.743, allocations: 40 kB / 0.8768 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001615/0.7446, allocations: 0.9742 MB / 0.8777 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7446, allocations: 0 / 0.8777 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004847/0.7495, allocations: 1.125 MB / 0.8788 GB, free: 13.34 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * 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.003846/0.7533, allocations: 3.358 MB / 0.8821 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005757/0.7591, allocations: 3.984 MB / 0.886 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/0.7591, allocations: 4 kB / 0.886 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.7604, allocations: 1.057 MB / 0.887 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004361/0.7648, allocations: 423.9 kB / 0.8874 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03511/0.7999, allocations: 24.34 MB / 0.9112 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004159/0.8041, allocations: 2.864 MB / 0.914 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003049/0.8072, allocations: 1.207 MB / 0.9152 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001872/0.8091, allocations: 1.269 MB / 0.9164 GB, free: 5.262 MB / 0.6387 GB Notification: Performance of SimCode: time 1.322e-06/0.8091, allocations: 0 / 0.9164 GB, free: 5.262 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6677/1.477, allocations: 44.41 MB / 0.9598 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/1.477, allocations: 241.2 kB / 0.96 GB, free: 9.152 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.75/4.227, allocations: 0 / 0.96 GB, free: 9.152 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)