Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",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.461/1.461, allocations: 252 MB / 267 MB, free: 10.95 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.0009746/0.0009746, allocations: 174.6 kB / 326.6 MB, free: 2.219 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.716/1.716, allocations: 205.4 MB / 0.5777 GB, free: 20.52 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.0007578/0.000758, allocations: 93.88 kB / 0.6823 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003628, allocations: 9.156 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.234, allocations: 106.3 MB / 0.9003 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01301/0.2471, allocations: 15.16 MB / 0.9151 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00896/0.2562, allocations: 5.981 MB / 0.921 GB, free: 42.99 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001554/0.2578, allocations: 43.88 kB / 0.921 GB, free: 42.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007802/0.2586, allocations: 309.7 kB / 0.9213 GB, free: 42.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.2603, allocations: 0.6497 MB / 0.9219 GB, free: 41.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002429/0.2628, allocations: 0.8264 MB / 0.9227 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003634/0.2664, allocations: 4.423 MB / 0.9271 GB, free: 36.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00651/0.2729, allocations: 5.253 MB / 0.9322 GB, free: 31.42 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002245/0.2752, allocations: 1.148 MB / 0.9333 GB, free: 30.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002581/0.2778, allocations: 1.682 MB / 0.9349 GB, free: 28.58 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003407/0.2782, allocations: 160 kB / 0.9351 GB, free: 28.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/0.2794, allocations: 399.6 kB / 0.9355 GB, free: 28.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001164/0.2806, allocations: 1.216 MB / 0.9367 GB, free: 26.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005426/0.2811, allocations: 0.5005 MB / 0.9372 GB, free: 26.31 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003554/0.2847, allocations: 4.637 MB / 0.9417 GB, free: 21.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.396e-05/0.2847, allocations: 4 kB / 0.9417 GB, free: 21.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.617e-06/0.2847, allocations: 4 kB / 0.9417 GB, free: 21.65 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001848/0.2849, allocations: 0 / 0.9417 GB, free: 21.65 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.005156/0.2901, allocations: 2.223 MB / 0.9439 GB, free: 19.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.2902, allocations: 8.031 kB / 0.9439 GB, free: 19.36 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006906/0.2909, allocations: 395.5 kB / 0.9442 GB, free: 18.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00358/0.2945, allocations: 0.8008 MB / 0.945 GB, free: 18.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002564/0.297, allocations: 1.387 MB / 0.9464 GB, free: 16.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.2972, allocations: 189.2 kB / 0.9466 GB, free: 16.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004166/0.2976, allocations: 255.9 kB / 0.9468 GB, free: 16.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007604/0.3052, allocations: 4.557 MB / 0.9513 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.224e-05/0.3053, allocations: 7.938 kB / 0.9513 GB, free: 11.53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002702/0.3056, allocations: 115.9 kB / 0.9514 GB, free: 11.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001828/0.3058, allocations: 184.2 kB / 0.9516 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005789/0.3116, allocations: 3.809 MB / 0.9553 GB, free: 7.422 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02594/0.3376, allocations: 21.43 MB / 0.9762 GB, free: 88 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002996/0.3406, allocations: 2.25 MB / 0.9784 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.3418, allocations: 0.7137 MB / 0.9791 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.227e-05/0.3418, allocations: 23.92 kB / 0.9791 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.944e-05/0.3419, allocations: 42.5 kB / 0.9792 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=62): time 5.31e-06/0.3419, allocations: 0 / 0.9792 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=68): time 0.006538/0.3485, allocations: 4.181 MB / 0.9832 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000141/0.3487, allocations: 247.3 kB / 0.9835 GB, free: 8.207 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.3503, allocations: 1.112 MB / 0.9846 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.3504, allocations: 37.7 kB / 0.9846 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000925/0.3513, allocations: 1.184 MB / 0.9858 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003091/0.3516, allocations: 256.6 kB / 0.986 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-05/0.3517, allocations: 28.28 kB / 0.986 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002916/0.352, allocations: 418.7 kB / 0.9864 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.3531, allocations: 0.6948 MB / 0.9871 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.3547, allocations: 1.387 MB / 0.9885 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.3561, allocations: 0.9795 MB / 0.9894 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/0.3561, allocations: 12 kB / 0.9894 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003451/0.3596, allocations: 2.168 MB / 0.9915 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007626/0.3603, allocations: 0.7825 MB / 0.9923 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.989e-05/0.3604, allocations: 27.98 kB / 0.9923 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.055e-05/0.3605, allocations: 43.95 kB / 0.9924 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/0.362, allocations: 427.2 kB / 0.9928 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.913e-05/0.3621, allocations: 51.8 kB / 0.9928 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.3635, allocations: 191.4 kB / 0.993 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.3636, allocations: 87.92 kB / 0.9931 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.3637, allocations: 6.031 kB / 0.9931 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002809/0.3665, allocations: 1.843 MB / 0.9949 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.774e-05/0.3665, allocations: 24 kB / 0.9949 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.927e-05/0.3666, allocations: 36 kB / 0.995 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.3678, allocations: 384.1 kB / 0.9953 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.69e-05/0.3679, allocations: 51.84 kB / 0.9954 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.3689, allocations: 143.4 kB / 0.9955 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.3691, allocations: 79.98 kB / 0.9956 GB, free: 11.06 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * 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.002128/0.3712, allocations: 1.136 MB / 0.9967 GB, free: 9.91 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003839/0.3716, allocations: 98.78 kB / 0.9968 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/0.3734, allocations: 1.095 MB / 0.9979 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.3734, allocations: 12 kB / 0.9979 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.3734, allocations: 4 kB / 0.9979 GB, free: 8.695 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.3734, allocations: 7.984 kB / 0.9979 GB, free: 8.688 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01424/0.3877, allocations: 10.17 MB / 1.008 GB, free: 14.26 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-05/0.3878, allocations: 16 kB / 1.008 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007335/0.3885, allocations: 187.7 kB / 1.008 GB, free: 14.06 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.173e-05/0.3885, allocations: 24.05 kB / 1.008 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.951e-05/0.3886, allocations: 32.67 kB / 1.008 GB, free: 14 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.79e-05/0.3887, allocations: 31.86 kB / 1.008 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.062e-05/0.3887, allocations: 31.88 kB / 1.008 GB, free: 13.94 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002396/0.3911, allocations: 2.158 MB / 1.01 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006056/0.3917, allocations: 339.6 kB / 1.011 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.3919, allocations: 35.98 kB / 1.011 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009921/0.3929, allocations: 95.86 kB / 1.011 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.393, allocations: 95.61 kB / 1.011 GB, free: 11 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.975e-05/0.3931, allocations: 40 kB / 1.011 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001145/0.3942, allocations: 0.762 MB / 1.012 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3942, allocations: 0 / 1.012 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002967/0.3972, allocations: 0.7227 MB / 1.012 GB, free: 9.461 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * 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.002708/0.3999, allocations: 2.742 MB / 1.015 GB, free: 6.496 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003975/0.4039, allocations: 2.461 MB / 1.017 GB, free: 4.047 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.495e-05/0.404, allocations: 4 kB / 1.017 GB, free: 4.043 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008161/0.4048, allocations: 0.5654 MB / 1.018 GB, free: 3.48 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.407, allocations: 238.5 kB / 1.018 GB, free: 3.25 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01896/0.4259, allocations: 10.57 MB / 1.028 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00232/0.4283, allocations: 2.003 MB / 1.03 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002241/0.4306, allocations: 0.8559 MB / 1.031 GB, free: 5.027 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/0.4316, allocations: 0.7297 MB / 1.032 GB, free: 4.297 MB / 0.6823 GB Notification: Performance of SimCode: time 1.092e-06/0.4316, allocations: 0 / 1.032 GB, free: 4.297 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5116/0.9432, allocations: 28.3 MB / 1.06 GB, free: 136 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/0.9435, allocations: 234.4 kB / 1.06 GB, free: 135.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.922/3.866, allocations: 0 / 1.06 GB, free: 135.8 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)