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.0009035/0.0009034, allocations: 98.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 185.5 kB / 16.92 MB, free: 6.754 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.302/1.302, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.662/0.662, allocations: 115.5 MB / 407.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000412/0.000412, allocations: 12 kB / 496 MB, free: 6.273 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1571, allocations: 77.53 MB / 0.5601 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.0208/0.1779, allocations: 19.62 MB / 0.5792 GB, free: 5.262 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2749/0.4529, allocations: 7.469 MB / 0.5865 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00162/0.4546, allocations: 51.09 kB / 0.5866 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009061/0.4555, allocations: 367.5 kB / 0.5869 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002279/0.4578, allocations: 0.9224 MB / 0.5878 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003453/0.4613, allocations: 1.313 MB / 0.5891 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008519/0.4698, allocations: 6.457 MB / 0.5954 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01145/0.4813, allocations: 7.518 MB / 0.6027 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003333/0.4846, allocations: 1.252 MB / 0.604 GB, free: 12.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003695/0.4884, allocations: 1.88 MB / 0.6058 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005482/0.4889, allocations: 182.7 kB / 0.606 GB, free: 12.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002217/0.4911, allocations: 0.8219 MB / 0.6068 GB, free: 12.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001701/0.4929, allocations: 1.336 MB / 0.6081 GB, free: 11.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001609/0.4945, allocations: 1.374 MB / 0.6094 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005334/0.4998, allocations: 5.865 MB / 0.6152 GB, free: 6.914 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.4998, allocations: 0.9688 kB / 0.6152 GB, free: 6.914 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4999, allocations: 0 / 0.6152 GB, free: 6.914 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001398/0.5, allocations: 0 / 0.6152 GB, free: 6.914 MB / 446.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.005069/0.5051, allocations: 2.445 MB / 0.6175 GB, free: 5.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.5051, allocations: 12.17 kB / 0.6176 GB, free: 5.266 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006197/0.5058, allocations: 447.6 kB / 0.618 GB, free: 4.957 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002852/0.5086, allocations: 0.6765 MB / 0.6186 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002109/0.5107, allocations: 1.545 MB / 0.6201 GB, free: 3.613 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.5109, allocations: 219 kB / 0.6204 GB, free: 3.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004199/0.5113, allocations: 283.9 kB / 0.6206 GB, free: 3.434 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006827/0.5181, allocations: 5.054 MB / 0.6256 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.691e-05/0.5182, allocations: 19.83 kB / 0.6256 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003182/0.5185, allocations: 126.2 kB / 0.6257 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002301/0.5188, allocations: 204.6 kB / 0.6259 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006687/0.5255, allocations: 4.185 MB / 0.63 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02692/0.5524, allocations: 23.02 MB / 0.6525 GB, free: 2.129 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00283/0.5553, allocations: 1.731 MB / 0.6542 GB, free: 368 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001622/0.5569, allocations: 1.124 MB / 0.6553 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001589/0.5571, allocations: 108.3 kB / 0.6554 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.5572, allocations: 43.16 kB / 0.6554 GB, free: 15.06 MB / 494.1 MB Notification: Performance of pre-optimization done (n=84): time 4.648e-06/0.5572, allocations: 4 kB / 0.6554 GB, free: 15.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=87): time 0.006827/0.564, allocations: 4.001 MB / 0.6593 GB, free: 11.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.92e-05/0.5641, allocations: 153.1 kB / 0.6595 GB, free: 10.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.5652, allocations: 0.8409 MB / 0.6603 GB, free: 9.992 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.802e-05/0.5654, allocations: 41.7 kB / 0.6603 GB, free: 9.945 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007128/0.5661, allocations: 1.164 MB / 0.6614 GB, free: 8.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000311/0.5664, allocations: 310.3 kB / 0.6617 GB, free: 8.469 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.5666, allocations: 101.7 kB / 0.6618 GB, free: 8.363 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.5668, allocations: 410.6 kB / 0.6622 GB, free: 7.953 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.568, allocations: 0.8067 MB / 0.663 GB, free: 7.145 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001501/0.5695, allocations: 1.296 MB / 0.6643 GB, free: 5.629 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002702/0.5722, allocations: 2.147 MB / 0.6664 GB, free: 3.301 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.5722, allocations: 4 kB / 0.6664 GB, free: 3.297 MB / 494.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00333/0.5755, allocations: 2.179 MB / 0.6685 GB, free: 1.105 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003302/0.5759, allocations: 0.4965 MB / 0.669 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/0.5759, allocations: 16 kB / 0.669 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.05e-05/0.5759, allocations: 20 kB / 0.669 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/0.5775, allocations: 415.3 kB / 0.6694 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.472e-05/0.5775, allocations: 27.88 kB / 0.6695 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.5788, allocations: 207.1 kB / 0.6697 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.5789, allocations: 59.98 kB / 0.6697 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.5789, allocations: 4 kB / 0.6697 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002653/0.5816, allocations: 1.768 MB / 0.6714 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.941e-05/0.5817, allocations: 16 kB / 0.6715 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.5817, allocations: 20 kB / 0.6715 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.5829, allocations: 368.1 kB / 0.6718 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.173e-05/0.583, allocations: 27.92 kB / 0.6719 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009778/0.5839, allocations: 143.4 kB / 0.672 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.5841, allocations: 56 kB / 0.672 GB, free: 13.29 MB / 0.4981 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.002177/0.5862, allocations: 1.176 MB / 0.6732 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003124/0.5866, allocations: 106.7 kB / 0.6733 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002854/0.5894, allocations: 1.85 MB / 0.6751 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.5894, allocations: 11.94 kB / 0.6751 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.5895, allocations: 4 kB / 0.6751 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.5895, allocations: 7.984 kB / 0.6751 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0132/0.6027, allocations: 9.586 MB / 0.6845 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.914e-05/0.6028, allocations: 8 kB / 0.6845 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/0.604, allocations: 316.2 kB / 0.6848 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.118e-05/0.604, allocations: 20 kB / 0.6848 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.126e-05/0.6041, allocations: 28 kB / 0.6848 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.955e-05/0.6042, allocations: 23.92 kB / 0.6849 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.254e-05/0.6042, allocations: 15.94 kB / 0.6849 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002907/0.6071, allocations: 2.417 MB / 0.6872 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006659/0.6078, allocations: 383.5 kB / 0.6876 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002298/0.608, allocations: 39.92 kB / 0.6876 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.609, allocations: 127.8 kB / 0.6878 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/0.6092, allocations: 107.3 kB / 0.6879 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.259e-05/0.6093, allocations: 40 kB / 0.6879 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008742/0.6102, allocations: 0.5888 MB / 0.6885 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6102, allocations: 0 / 0.6885 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00291/0.6131, allocations: 0.7461 MB / 0.6892 GB, free: 11.29 MB / 0.5137 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.003182/0.6163, allocations: 2.991 MB / 0.6921 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004027/0.6204, allocations: 2.838 MB / 0.6949 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.6204, allocations: 4 kB / 0.6949 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.6216, allocations: 0.916 MB / 0.6958 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003013/0.6246, allocations: 284 kB / 0.6961 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02482/0.6495, allocations: 16.76 MB / 0.7124 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002821/0.6523, allocations: 2.127 MB / 0.7145 GB, free: 288 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002015/0.6544, allocations: 0.7345 MB / 0.7152 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001277/0.6557, allocations: 0.8194 MB / 0.716 GB, free: 14.72 MB / 0.545 GB Notification: Performance of SimCode: time 1.453e-06/0.6557, allocations: 4 kB / 0.716 GB, free: 14.72 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04941/0.7051, allocations: 30.38 MB / 0.7457 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002434/0.7054, allocations: 224.3 kB / 0.7459 GB, free: 488 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.179/2.884, allocations: 4 kB / 0.7459 GB, free: 484 kB / 0.5606 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)