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.001091/0.001091, allocations: 107.2 kB / 16.4 MB, free: 6.445 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.001152/0.001152, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.711/0.711, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 71.7 kB / 0.5572 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1513, allocations: 76.17 MB / 0.6316 GB, free: 4.906 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02316/0.1745, allocations: 20.4 MB / 0.6515 GB, free: 444 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01207/0.1867, allocations: 7.698 MB / 0.659 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001827/0.1885, allocations: 63.81 kB / 0.6591 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003523/0.1921, allocations: 1.355 MB / 0.6604 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002764/0.1949, allocations: 0.9997 MB / 0.6614 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004727/0.1996, allocations: 2.003 MB / 0.6633 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004749/0.2044, allocations: 4.323 MB / 0.6676 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007373/0.2118, allocations: 6.158 MB / 0.6736 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002449/0.2143, allocations: 1.862 MB / 0.6754 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003174/0.2175, allocations: 2.197 MB / 0.6775 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0009332/0.2184, allocations: 428 kB / 0.678 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002034/0.2204, allocations: 0.948 MB / 0.6789 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001866/0.2223, allocations: 1.649 MB / 0.6805 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001852/0.2242, allocations: 1.72 MB / 0.6822 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005086/0.2293, allocations: 6.191 MB / 0.6882 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.2293, allocations: 0 / 0.6882 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.003e-06/0.2293, allocations: 0 / 0.6882 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.188e-05/0.2294, allocations: 0 / 0.6882 GB, free: 10.71 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.005452/0.2349, allocations: 3.059 MB / 0.6912 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.2349, allocations: 12.03 kB / 0.6912 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005193/0.2355, allocations: 442 kB / 0.6916 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003358/0.2388, allocations: 0.7507 MB / 0.6924 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003174/0.242, allocations: 1.563 MB / 0.6939 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.2422, allocations: 214.2 kB / 0.6941 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004543/0.2426, allocations: 288.3 kB / 0.6944 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008209/0.2508, allocations: 5.086 MB / 0.6993 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.017e-05/0.2509, allocations: 11.84 kB / 0.6993 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003187/0.2513, allocations: 127.9 kB / 0.6995 GB, free: 14.87 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002297/0.2515, allocations: 204.6 kB / 0.6997 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007205/0.2587, allocations: 4.227 MB / 0.7038 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02413/0.2829, allocations: 22.91 MB / 0.7262 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002643/0.2856, allocations: 1.739 MB / 0.7279 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/0.2871, allocations: 1.149 MB / 0.729 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/0.2873, allocations: 105.7 kB / 0.7291 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.2873, allocations: 47.16 kB / 0.7291 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=84): time 2.735e-06/0.2873, allocations: 0 / 0.7291 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87): time 0.005658/0.293, allocations: 4.012 MB / 0.7331 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.2931, allocations: 141.2 kB / 0.7332 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.2941, allocations: 0.8643 MB / 0.734 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.894e-05/0.2942, allocations: 37.7 kB / 0.7341 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006325/0.2948, allocations: 1.162 MB / 0.7352 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/0.2951, allocations: 307.7 kB / 0.7355 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004159/0.2955, allocations: 274.5 kB / 0.7358 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.2957, allocations: 414.7 kB / 0.7362 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.2969, allocations: 0.8218 MB / 0.737 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.2984, allocations: 1.31 MB / 0.7382 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002598/0.301, allocations: 2.167 MB / 0.7404 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.301, allocations: 4 kB / 0.7404 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.0032/0.3042, allocations: 2.214 MB / 0.7425 GB, free: 4 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.207e-05/0.3043, allocations: 8.047 kB / 0.7425 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.3043, allocations: 16 kB / 0.7425 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.193e-05/0.3043, allocations: 20.75 kB / 0.7426 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/0.3059, allocations: 415.2 kB / 0.743 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.203e-05/0.306, allocations: 31.92 kB / 0.743 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.3073, allocations: 211.2 kB / 0.7432 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.3074, allocations: 67.97 kB / 0.7433 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002424/0.3098, allocations: 1.677 MB / 0.7449 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001304/0.3111, allocations: 1.197 MB / 0.7461 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002245/0.3134, allocations: 1.898 MB / 0.7479 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.044e-06/0.3134, allocations: 4 kB / 0.7479 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.002893/0.3163, allocations: 1.934 MB / 0.7498 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.3163, allocations: 16.06 kB / 0.7498 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.3164, allocations: 19.98 kB / 0.7498 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.3164, allocations: 24 kB / 0.7499 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.3177, allocations: 359.4 kB / 0.7502 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.618e-05/0.3178, allocations: 35.86 kB / 0.7502 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.319, allocations: 175.3 kB / 0.7504 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.273e-05/0.3191, allocations: 64.17 kB / 0.7505 GB, free: 7.398 MB / 0.5919 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.0003974/0.3195, allocations: 263.8 kB / 0.7507 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/0.3198, allocations: 102.7 kB / 0.7508 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002569/0.3223, allocations: 1.85 MB / 0.7526 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.3224, allocations: 12 kB / 0.7526 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.3224, allocations: 4 kB / 0.7526 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.3224, allocations: 3.984 kB / 0.7526 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.303/0.6254, allocations: 9.586 MB / 0.762 GB, free: 114.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-05/0.6255, allocations: 12.84 kB / 0.762 GB, free: 114.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/0.6269, allocations: 312.5 kB / 0.7623 GB, free: 114.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.427e-05/0.627, allocations: 15.88 kB / 0.7623 GB, free: 114.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-05/0.6271, allocations: 29.16 kB / 0.7624 GB, free: 114.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-05/0.6271, allocations: 27.81 kB / 0.7624 GB, free: 114.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.566e-05/0.6271, allocations: 16.12 kB / 0.7624 GB, free: 114.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003007/0.6301, allocations: 2.402 MB / 0.7647 GB, free: 113.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007873/0.6309, allocations: 369.3 kB / 0.7651 GB, free: 113.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.6311, allocations: 41.91 kB / 0.7651 GB, free: 113.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009739/0.6321, allocations: 140.4 kB / 0.7653 GB, free: 113.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/0.6323, allocations: 91.66 kB / 0.7654 GB, free: 113.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-05/0.6323, allocations: 36.59 kB / 0.7654 GB, free: 113.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008981/0.6332, allocations: 0.6164 MB / 0.766 GB, free: 113.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6333, allocations: 3.281 kB / 0.766 GB, free: 113.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002499/0.6358, allocations: 0.7519 MB / 0.7667 GB, free: 113.1 MB / 0.5919 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.003237/0.639, allocations: 2.99 MB / 0.7697 GB, free: 111.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004545/0.6436, allocations: 2.903 MB / 0.7725 GB, free: 110.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.701e-05/0.6436, allocations: 1.531 kB / 0.7725 GB, free: 110.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.6448, allocations: 0.919 MB / 0.7734 GB, free: 109.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/0.6467, allocations: 298.5 kB / 0.7737 GB, free: 109.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0181/0.6648, allocations: 15.23 MB / 0.7885 GB, free: 102 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001601/0.6665, allocations: 2.126 MB / 0.7906 GB, free: 100.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001517/0.668, allocations: 0.7501 MB / 0.7914 GB, free: 99.39 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008732/0.6689, allocations: 0.8273 MB / 0.7922 GB, free: 98.57 MB / 0.5919 GB Notification: Performance of SimCode: time 1.042e-06/0.6689, allocations: 0 / 0.7922 GB, free: 98.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04625/0.7151, allocations: 32.94 MB / 0.8243 GB, free: 65.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.26/9.975, allocations: 17.11 kB / 0.8243 GB, free: 65.97 MB / 0.5919 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)