Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",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.0007324/0.0007325, allocations: 98.27 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.004618/0.004618, allocations: 170.6 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.252/1.252, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00168/0.001679, allocations: 267.1 kB / 291.7 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9143/0.9143, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000417/0.0004169, allocations: 15.86 kB / 0.5988 GB, free: 28.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1476, 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_N): time 0.01945/0.1671, allocations: 19.63 MB / 0.7044 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01089/0.178, allocations: 7.488 MB / 0.7117 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/0.1795, allocations: 51.81 kB / 0.7118 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008128/0.1803, allocations: 365.3 kB / 0.7121 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001964/0.1823, allocations: 0.9225 MB / 0.713 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002739/0.185, allocations: 1.316 MB / 0.7143 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005648/0.1907, allocations: 6.457 MB / 0.7206 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009718/0.2004, allocations: 7.509 MB / 0.7279 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002226/0.2027, allocations: 1.253 MB / 0.7292 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002741/0.2054, allocations: 1.885 MB / 0.731 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003706/0.2058, allocations: 176 kB / 0.7312 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001596/0.2074, allocations: 0.8189 MB / 0.732 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001358/0.2088, allocations: 1.337 MB / 0.7333 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.2102, allocations: 1.378 MB / 0.7346 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004993/0.2152, allocations: 5.86 MB / 0.7403 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2152, allocations: 4 kB / 0.7404 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2152, allocations: 4 kB / 0.7404 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001096/0.2153, allocations: 0 / 0.7404 GB, free: 6.305 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.004422/0.2198, allocations: 2.443 MB / 0.7427 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.2198, allocations: 12.03 kB / 0.7428 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005692/0.2204, allocations: 446 kB / 0.7432 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00274/0.2231, allocations: 0.6882 MB / 0.7438 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002309/0.2254, allocations: 1.532 MB / 0.7453 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.2256, allocations: 218.1 kB / 0.7456 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004344/0.226, allocations: 288.3 kB / 0.7458 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008039/0.2341, allocations: 5.055 MB / 0.7508 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.449e-05/0.2342, allocations: 11.88 kB / 0.7508 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002886/0.2345, allocations: 128 kB / 0.7509 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002214/0.2347, allocations: 204.6 kB / 0.7511 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006826/0.2415, allocations: 4.192 MB / 0.7552 GB, free: 6.793 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3074/0.549, allocations: 23 MB / 0.7776 GB, free: 80.51 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003094/0.5521, allocations: 1.734 MB / 0.7793 GB, free: 80.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/0.5536, allocations: 1.124 MB / 0.7804 GB, free: 80.38 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001487/0.5538, allocations: 100.8 kB / 0.7805 GB, free: 80.29 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.5538, allocations: 48.5 kB / 0.7806 GB, free: 80.25 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=84): time 3.246e-06/0.5538, allocations: 0.5312 kB / 0.7806 GB, free: 80.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87): time 0.005877/0.5597, allocations: 4.007 MB / 0.7845 GB, free: 79.13 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.5598, allocations: 139.2 kB / 0.7846 GB, free: 78.97 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009174/0.5607, allocations: 0.8436 MB / 0.7854 GB, free: 78.83 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.212e-05/0.5608, allocations: 48.48 kB / 0.7855 GB, free: 78.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005544/0.5614, allocations: 1.158 MB / 0.7866 GB, free: 78.11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000228/0.5616, allocations: 309.2 kB / 0.7869 GB, free: 77.92 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.5617, allocations: 105.6 kB / 0.787 GB, free: 77.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.5619, allocations: 410.7 kB / 0.7874 GB, free: 77.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.563, allocations: 0.7999 MB / 0.7882 GB, free: 77.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.5643, allocations: 1.299 MB / 0.7895 GB, free: 76.42 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002571/0.5669, allocations: 2.151 MB / 0.7916 GB, free: 75.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.5669, allocations: 3.969 kB / 0.7916 GB, free: 75.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003038/0.57, allocations: 2.178 MB / 0.7937 GB, free: 74.44 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002136/0.5702, allocations: 0.5017 MB / 0.7942 GB, free: 73.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.5702, allocations: 11.66 kB / 0.7942 GB, free: 73.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/0.5702, allocations: 22.47 kB / 0.7942 GB, free: 73.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/0.5717, allocations: 408.2 kB / 0.7946 GB, free: 73.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.424e-05/0.5717, allocations: 35.98 kB / 0.7946 GB, free: 73.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.5729, allocations: 205.1 kB / 0.7948 GB, free: 73.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.75e-05/0.573, allocations: 57.58 kB / 0.7949 GB, free: 73.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.645e-06/0.573, allocations: 4.438 kB / 0.7949 GB, free: 73.68 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002333/0.5753, allocations: 1.773 MB / 0.7966 GB, free: 73.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.5754, allocations: 13.81 kB / 0.7966 GB, free: 73.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.5754, allocations: 19.84 kB / 0.7967 GB, free: 73.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.5765, allocations: 358.7 kB / 0.797 GB, free: 73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.138e-05/0.5766, allocations: 28.7 kB / 0.797 GB, free: 72.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007863/0.5773, allocations: 152.8 kB / 0.7972 GB, free: 72.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-05/0.5774, allocations: 57.23 kB / 0.7972 GB, free: 72.94 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * 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.001874/0.5793, allocations: 1.177 MB / 0.7984 GB, free: 72.36 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/0.5796, allocations: 101.9 kB / 0.7985 GB, free: 72.31 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002901/0.5825, allocations: 1.854 MB / 0.8003 GB, free: 71.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.5825, allocations: 14.22 kB / 0.8003 GB, free: 71.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.5825, allocations: 1.125 kB / 0.8003 GB, free: 71.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.5825, allocations: 4.734 kB / 0.8003 GB, free: 71.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/0.5931, allocations: 9.592 MB / 0.8097 GB, free: 66.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/0.5932, allocations: 12.44 kB / 0.8097 GB, free: 66.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.5943, allocations: 312.3 kB / 0.81 GB, free: 66.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.792e-05/0.5943, allocations: 15.5 kB / 0.81 GB, free: 66.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.871e-05/0.5944, allocations: 30.03 kB / 0.81 GB, free: 66.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-05/0.5944, allocations: 27.42 kB / 0.8101 GB, free: 66.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.125e-05/0.5944, allocations: 24.25 kB / 0.8101 GB, free: 66.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/0.5966, allocations: 2.401 MB / 0.8124 GB, free: 65.05 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005055/0.5971, allocations: 389.7 kB / 0.8128 GB, free: 64.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.5972, allocations: 23.66 kB / 0.8128 GB, free: 64.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008055/0.598, allocations: 147.7 kB / 0.813 GB, free: 64.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.5982, allocations: 91.05 kB / 0.813 GB, free: 64.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.808e-05/0.5983, allocations: 43.59 kB / 0.8131 GB, free: 64.63 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005773/0.5988, allocations: 0.5851 MB / 0.8137 GB, free: 64.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5989, allocations: 0 / 0.8137 GB, free: 64.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00227/0.6011, allocations: 0.7468 MB / 0.8144 GB, free: 64.25 MB / 0.5606 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 (90): * Single equations (assignments): 90 * 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.002317/0.6035, allocations: 2.999 MB / 0.8173 GB, free: 61.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003027/0.6065, allocations: 2.838 MB / 0.8201 GB, free: 60.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6065, allocations: 4.125 kB / 0.8201 GB, free: 60.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009431/0.6075, allocations: 0.9128 MB / 0.821 GB, free: 60.13 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002691/0.6102, allocations: 289.5 kB / 0.8213 GB, free: 60 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/0.6258, allocations: 16.77 MB / 0.8376 GB, free: 43.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/0.6272, allocations: 2.126 MB / 0.8397 GB, free: 40.89 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001511/0.6287, allocations: 0.7414 MB / 0.8404 GB, free: 40.15 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008284/0.6296, allocations: 0.8234 MB / 0.8412 GB, free: 39.33 MB / 0.5606 GB Notification: Performance of SimCode: time 7.81e-07/0.6296, allocations: 0 / 0.8412 GB, free: 39.33 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8102/1.44, allocations: 30.44 MB / 0.871 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/1.44, allocations: 229.2 kB / 0.8712 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.412/3.852, allocations: 0 / 0.8712 GB, free: 9.043 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)