Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.531/1.531, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 192.2 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008139/0.0008139, allocations: 97.8 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003186, allocations: 10.16 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1988, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.01418/0.213, allocations: 18.17 MB / 0.9179 GB, free: 45.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009657/0.2227, allocations: 7.152 MB / 0.9249 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/0.2243, allocations: 47.81 kB / 0.9249 GB, free: 38.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008745/0.2252, allocations: 393.5 kB / 0.9253 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002598/0.2278, allocations: 0.7671 MB / 0.9261 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003197/0.231, allocations: 1.131 MB / 0.9272 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002634/0.2336, allocations: 2.008 MB / 0.9291 GB, free: 34.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007064/0.2407, allocations: 6.536 MB / 0.9355 GB, free: 27.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001434/0.2422, allocations: 1.051 MB / 0.9365 GB, free: 26.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.2434, allocations: 1.203 MB / 0.9377 GB, free: 25.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002462/0.2437, allocations: 176 kB / 0.9379 GB, free: 25.06 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008511/0.2445, allocations: 407.6 kB / 0.9383 GB, free: 24.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0007938/0.2453, allocations: 1.236 MB / 0.9395 GB, free: 23.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004198/0.2457, allocations: 0.555 MB / 0.94 GB, free: 22.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003113/0.2489, allocations: 5.127 MB / 0.945 GB, free: 17.72 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2489, allocations: 0 / 0.945 GB, free: 17.72 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2489, allocations: 0 / 0.945 GB, free: 17.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001053/0.249, allocations: 4 kB / 0.945 GB, free: 17.72 MB / 0.6042 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.004053/0.2531, allocations: 2.467 MB / 0.9474 GB, free: 15.19 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.2531, allocations: 12.03 kB / 0.9474 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005019/0.2536, allocations: 445.8 kB / 0.9479 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002779/0.2564, allocations: 0.7264 MB / 0.9486 GB, free: 14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002826/0.2592, allocations: 1.515 MB / 0.9501 GB, free: 12.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.2594, allocations: 217.8 kB / 0.9503 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004094/0.2598, allocations: 287.9 kB / 0.9505 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006754/0.2666, allocations: 5.004 MB / 0.9554 GB, free: 6.758 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.628e-05/0.2667, allocations: 7.938 kB / 0.9554 GB, free: 6.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002676/0.2669, allocations: 128 kB / 0.9556 GB, free: 6.625 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001859/0.2671, allocations: 212.5 kB / 0.9558 GB, free: 6.414 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00574/0.2729, allocations: 4.161 MB / 0.9598 GB, free: 2.238 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0258/0.2987, allocations: 23.01 MB / 0.9823 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002778/0.3015, allocations: 1.715 MB / 0.984 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001721/0.3017, allocations: 105.7 kB / 0.9841 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.3018, allocations: 47.17 kB / 0.9841 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=84): time 3.286e-06/0.3018, allocations: 0 / 0.9841 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of matching and sorting (n=87): time 0.005667/0.3075, allocations: 3.993 MB / 0.988 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.655e-05/0.3076, allocations: 145.7 kB / 0.9882 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.3087, allocations: 0.8446 MB / 0.989 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.237e-05/0.3088, allocations: 41.7 kB / 0.989 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007043/0.3095, allocations: 1.158 MB / 0.9902 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002818/0.3098, allocations: 307.6 kB / 0.9904 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.612e-05/0.3099, allocations: 28 kB / 0.9905 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000204/0.3101, allocations: 402.7 kB / 0.9909 GB, free: 140 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.3113, allocations: 0.8027 MB / 0.9916 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/0.3128, allocations: 1.279 MB / 0.9929 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.3142, allocations: 0.9944 MB / 0.9939 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.417e-06/0.3142, allocations: 4 kB / 0.9939 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003296/0.3175, allocations: 2.176 MB / 0.996 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.002031/0.3196, allocations: 5.498 MB / 1.001 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/0.3196, allocations: 19.98 kB / 1.001 GB, free: 4.703 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.115e-05/0.3197, allocations: 24 kB / 1.001 GB, free: 4.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.3213, allocations: 407.3 kB / 1.002 GB, free: 4.281 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.85e-05/0.3213, allocations: 31.92 kB / 1.002 GB, free: 4.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.3226, allocations: 195.3 kB / 1.002 GB, free: 4.059 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.3227, allocations: 68.02 kB / 1.002 GB, free: 3.992 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.3227, allocations: 10.28 kB / 1.002 GB, free: 3.984 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002526/0.3252, allocations: 1.757 MB / 1.004 GB, free: 2.227 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.3253, allocations: 16 kB / 1.004 GB, free: 2.211 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.3253, allocations: 28.12 kB / 1.004 GB, free: 2.184 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.3265, allocations: 351.4 kB / 1.004 GB, free: 1.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.321e-05/0.3266, allocations: 31.86 kB / 1.004 GB, free: 1.809 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009005/0.3275, allocations: 151.4 kB / 1.004 GB, free: 1.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.638e-05/0.3276, allocations: 59.98 kB / 1.004 GB, free: 1.602 MB / 0.6511 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001858/0.3294, allocations: 1.176 MB / 1.006 GB, free: 424 kB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002529/0.3297, allocations: 102.8 kB / 1.006 GB, free: 320 kB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00282/0.3325, allocations: 1.846 MB / 1.007 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.3326, allocations: 12 kB / 1.007 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.3326, allocations: 0 / 1.007 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.3326, allocations: 7.984 kB / 1.007 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01318/0.3458, allocations: 9.58 MB / 1.017 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.3458, allocations: 8 kB / 1.017 GB, free: 4.586 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/0.3471, allocations: 327.5 kB / 1.017 GB, free: 4.266 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.99e-05/0.3471, allocations: 19.98 kB / 1.017 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.993e-05/0.3472, allocations: 32 kB / 1.017 GB, free: 4.215 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.709e-05/0.3472, allocations: 15.94 kB / 1.017 GB, free: 4.199 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.098e-05/0.3472, allocations: 19.94 kB / 1.017 GB, free: 4.18 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003098/0.3503, allocations: 2.972 MB / 1.02 GB, free: 0.75 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007195/0.3511, allocations: 391.4 kB / 1.021 GB, free: 356 kB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.3512, allocations: 28 kB / 1.021 GB, free: 328 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000871/0.3521, allocations: 143.7 kB / 1.021 GB, free: 184 kB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.3523, allocations: 91.7 kB / 1.021 GB, free: 92 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.589e-05/0.3523, allocations: 36 kB / 1.021 GB, free: 56 kB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007728/0.3531, allocations: 0.5811 MB / 1.021 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3531, allocations: 0 / 1.021 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002381/0.3555, allocations: 0.7461 MB / 1.022 GB, free: 14.73 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004471/0.36, allocations: 6.933 MB / 1.029 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004135/0.3642, allocations: 2.823 MB / 1.032 GB, free: 4.621 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.3642, allocations: 0 / 1.032 GB, free: 4.621 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001331/0.3655, allocations: 0.9237 MB / 1.033 GB, free: 3.699 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.3671, allocations: 265.8 kB / 1.033 GB, free: 3.445 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3695/0.7365, allocations: 20.79 MB / 1.053 GB, free: 141.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001799/0.7384, allocations: 2.168 MB / 1.055 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002036/0.7404, allocations: 0.7392 MB / 1.056 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/0.7415, allocations: 0.8323 MB / 1.057 GB, free: 140.8 MB / 0.698 GB Notification: Performance of SimCode: time 8.11e-07/0.7415, allocations: 0 / 1.057 GB, free: 140.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08653/0.828, allocations: 31.09 MB / 1.087 GB, free: 127.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/0.8282, allocations: 214.8 kB / 1.087 GB, free: 127.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.64/3.468, allocations: 6.406 kB / 1.087 GB, free: 127.7 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)