Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="IBPSA_latest_IBPSA_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.001074/0.001074, allocations: 104.4 kB / 15.98 MB, free: 6.348 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.001118/0.001118, allocations: 198.4 kB / 16.91 MB, free: 6.199 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.244/1.244, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6707/0.6707, allocations: 115.3 MB / 406.1 MB, free: 6.398 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 59.91 kB / 493.2 MB, free: 0.625 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2994, allocations: 76.17 MB / 0.556 GB, free: 35.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.01742/0.3169, allocations: 20.26 MB / 0.5758 GB, free: 22.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.3269, allocations: 7.611 MB / 0.5832 GB, free: 16.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0018/0.3288, allocations: 56.84 kB / 0.5833 GB, free: 16.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002835/0.3317, allocations: 1.253 MB / 0.5845 GB, free: 16.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002226/0.3339, allocations: 0.9214 MB / 0.5854 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003944/0.3378, allocations: 1.859 MB / 0.5872 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004501/0.3424, allocations: 4.351 MB / 0.5915 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009273/0.3516, allocations: 7.332 MB / 0.5987 GB, free: 8.918 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002566/0.3542, allocations: 1.858 MB / 0.6005 GB, free: 7.055 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002021/0.3563, allocations: 2.318 MB / 0.6027 GB, free: 4.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004053/0.3567, allocations: 424 kB / 0.6031 GB, free: 4.316 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.358, allocations: 0.9441 MB / 0.6041 GB, free: 3.371 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009413/0.3589, allocations: 1.661 MB / 0.6057 GB, free: 1.707 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00127/0.3602, allocations: 1.712 MB / 0.6073 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00476/0.365, allocations: 6.198 MB / 0.6134 GB, free: 9.77 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.365, allocations: 0 / 0.6134 GB, free: 9.77 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.365, allocations: 0 / 0.6134 GB, free: 9.77 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.492e-05/0.3651, allocations: 0 / 0.6134 GB, free: 9.77 MB / 462.1 MB 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.004742/0.3698, allocations: 3.047 MB / 0.6164 GB, free: 6.66 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3699, allocations: 8.031 kB / 0.6164 GB, free: 6.652 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004873/0.3704, allocations: 442 kB / 0.6168 GB, free: 6.211 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003349/0.3737, allocations: 0.7507 MB / 0.6175 GB, free: 5.457 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002228/0.376, allocations: 1.544 MB / 0.619 GB, free: 3.867 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.3761, allocations: 218.2 kB / 0.6193 GB, free: 3.652 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004034/0.3765, allocations: 288.3 kB / 0.6195 GB, free: 3.371 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006753/0.3833, allocations: 5.074 MB / 0.6245 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.563e-05/0.3833, allocations: 7.938 kB / 0.6245 GB, free: 14.1 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002768/0.3836, allocations: 135.9 kB / 0.6246 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000195/0.3838, allocations: 204.6 kB / 0.6248 GB, free: 13.76 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005637/0.3895, allocations: 4.22 MB / 0.6289 GB, free: 9.527 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02402/0.4135, allocations: 23.08 MB / 0.6515 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003004/0.4165, allocations: 1.731 MB / 0.6532 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/0.4182, allocations: 1.138 MB / 0.6543 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002069/0.4185, allocations: 101.7 kB / 0.6544 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.4185, allocations: 51.16 kB / 0.6544 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=84): time 2.394e-06/0.4185, allocations: 0 / 0.6544 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=87): time 0.005843/0.4244, allocations: 4.008 MB / 0.6583 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.4244, allocations: 145.1 kB / 0.6585 GB, free: 9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.4256, allocations: 0.8607 MB / 0.6593 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.017e-05/0.4257, allocations: 41.7 kB / 0.6594 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008589/0.4266, allocations: 1.166 MB / 0.6605 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002802/0.4269, allocations: 311.6 kB / 0.6608 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000438/0.4273, allocations: 274.5 kB / 0.6611 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002292/0.4276, allocations: 406.7 kB / 0.6614 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.4288, allocations: 0.8335 MB / 0.6623 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/0.4305, allocations: 1.306 MB / 0.6635 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002843/0.4334, allocations: 2.163 MB / 0.6656 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/0.4334, allocations: 4 kB / 0.6656 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003304/0.4367, allocations: 2.211 MB / 0.6678 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.4367, allocations: 16.25 kB / 0.6678 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.4367, allocations: 12.14 kB / 0.6678 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.039e-05/0.4368, allocations: 27.94 kB / 0.6679 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/0.4383, allocations: 415.3 kB / 0.6683 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.388e-05/0.4384, allocations: 27.92 kB / 0.6683 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.4396, allocations: 211.3 kB / 0.6685 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.4397, allocations: 63.98 kB / 0.6685 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002359/0.4421, allocations: 1.673 MB / 0.6702 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001323/0.4434, allocations: 1.197 MB / 0.6713 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002281/0.4457, allocations: 1.906 MB / 0.6732 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.072e-06/0.4457, allocations: 4 kB / 0.6732 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.002781/0.4485, allocations: 1.929 MB / 0.6751 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.4486, allocations: 12 kB / 0.6751 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.4486, allocations: 16 kB / 0.6751 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.4486, allocations: 20 kB / 0.6751 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.4498, allocations: 367.8 kB / 0.6755 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.359e-05/0.4499, allocations: 31.86 kB / 0.6755 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.451, allocations: 183.2 kB / 0.6757 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.018e-05/0.4511, allocations: 60.17 kB / 0.6758 GB, free: 6.367 MB / 0.5137 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.0003169/0.4514, allocations: 271.8 kB / 0.676 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.4516, allocations: 102.7 kB / 0.6761 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/0.4542, allocations: 1.85 MB / 0.6779 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.4542, allocations: 8 kB / 0.6779 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.4542, allocations: 4 kB / 0.6779 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.4543, allocations: 7.969 kB / 0.6779 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/0.4653, allocations: 9.592 MB / 0.6873 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.988e-05/0.4654, allocations: 12 kB / 0.6873 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.4666, allocations: 307.5 kB / 0.6876 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.569e-05/0.4666, allocations: 16 kB / 0.6876 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.348e-05/0.4667, allocations: 28.53 kB / 0.6877 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-05/0.4667, allocations: 35.8 kB / 0.6877 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/0.4667, allocations: 19.88 kB / 0.6877 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/0.4693, allocations: 2.394 MB / 0.69 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005854/0.4699, allocations: 379.6 kB / 0.6904 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.4701, allocations: 31.98 kB / 0.6904 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009318/0.471, allocations: 143.7 kB / 0.6906 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/0.4712, allocations: 87.67 kB / 0.6907 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.599e-05/0.4713, allocations: 36 kB / 0.6907 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008385/0.4721, allocations: 0.6161 MB / 0.6913 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4721, allocations: 0 / 0.6913 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002213/0.4743, allocations: 0.7539 MB / 0.692 GB, free: 5.254 MB / 0.5294 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.002772/0.4771, allocations: 2.982 MB / 0.6949 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004006/0.4811, allocations: 3.046 MB / 0.6979 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4811, allocations: 384 / 0.6979 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.4823, allocations: 0.9196 MB / 0.6988 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.4838, allocations: 305 kB / 0.6991 GB, free: 13.87 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01949/0.5033, allocations: 16.88 MB / 0.7156 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001805/0.5052, allocations: 2.124 MB / 0.7177 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00176/0.5069, allocations: 0.7422 MB / 0.7184 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/0.508, allocations: 0.8273 MB / 0.7192 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of SimCode: time 7.22e-07/0.508, allocations: 0 / 0.7192 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4863/0.9942, allocations: 31.97 MB / 0.7504 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/0.9944, allocations: 219.5 kB / 0.7506 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.701/3.696, allocations: 0 / 0.7506 GB, free: 160.6 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)