Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007625/0.0007624, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005181/0.005181, allocations: 170.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.658/1.658, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.0004945, allocations: 11.34 kB / 0.6744 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2061, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01699/0.2231, allocations: 16.04 MB / 0.8037 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009674/0.2328, allocations: 6.275 MB / 0.8098 GB, free: 5.062 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.2341, allocations: 39.88 kB / 0.8098 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.000793/0.2349, allocations: 317.7 kB / 0.8101 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001611/0.2365, allocations: 0.7901 MB / 0.8109 GB, free: 3.918 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002357/0.2389, allocations: 1.072 MB / 0.812 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005043/0.244, allocations: 5.785 MB / 0.8176 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008067/0.252, allocations: 6.148 MB / 0.8236 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001759/0.2538, allocations: 1.121 MB / 0.8247 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002066/0.2559, allocations: 1.717 MB / 0.8264 GB, free: 3.965 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002421/0.2561, allocations: 160 kB / 0.8265 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.2574, allocations: 0.7448 MB / 0.8273 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001043/0.2585, allocations: 1.224 MB / 0.8285 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.2596, allocations: 1.242 MB / 0.8297 GB, free: 0.582 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00424/0.2638, allocations: 5.276 MB / 0.8348 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2639, allocations: 0 / 0.8348 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2639, allocations: 4 kB / 0.8348 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.887e-05/0.264, allocations: 0 / 0.8348 GB, free: 11.28 MB / 0.6544 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.00392/0.2679, allocations: 2.199 MB / 0.837 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.2679, allocations: 12.03 kB / 0.837 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004959/0.2684, allocations: 399.7 kB / 0.8374 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003508/0.272, allocations: 0.7939 MB / 0.8381 GB, free: 7.82 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001986/0.274, allocations: 1.4 MB / 0.8395 GB, free: 6.379 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.2741, allocations: 205.5 kB / 0.8397 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003969/0.2745, allocations: 260.2 kB / 0.84 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006444/0.281, allocations: 4.58 MB / 0.8444 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.746e-05/0.281, allocations: 11.88 kB / 0.8444 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000325/0.2814, allocations: 104 kB / 0.8445 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001958/0.2816, allocations: 188.2 kB / 0.8447 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005518/0.2871, allocations: 3.825 MB / 0.8485 GB, free: 13.01 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01905/0.3061, allocations: 21.44 MB / 0.8694 GB, free: 5.672 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002348/0.3085, allocations: 2.25 MB / 0.8716 GB, free: 3.133 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009058/0.3095, allocations: 0.7164 MB / 0.8723 GB, free: 2.395 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/0.3095, allocations: 15.98 kB / 0.8723 GB, free: 2.379 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.3095, allocations: 50.36 kB / 0.8723 GB, free: 2.32 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=62): time 2.445e-06/0.3095, allocations: 0 / 0.8723 GB, free: 2.32 MB / 0.6856 GB Notification: Performance of matching and sorting (n=68): time 0.005062/0.3146, allocations: 4.199 MB / 0.8764 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.227e-05/0.3147, allocations: 239.3 kB / 0.8767 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.316, allocations: 1.108 MB / 0.8778 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.153e-05/0.316, allocations: 37.7 kB / 0.8778 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006408/0.3167, allocations: 1.195 MB / 0.879 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.3169, allocations: 248.6 kB / 0.8792 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.3171, allocations: 126 kB / 0.8793 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3172, allocations: 345.9 kB / 0.8796 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008923/0.3181, allocations: 0.7026 MB / 0.8803 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.3194, allocations: 1.407 MB / 0.8817 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002199/0.3216, allocations: 2.158 MB / 0.8838 GB, free: 5.73 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.3216, allocations: 4 kB / 0.8838 GB, free: 5.727 MB / 0.7012 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.002911/0.3245, allocations: 2.184 MB / 0.886 GB, free: 3.535 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004652/0.325, allocations: 0.7927 MB / 0.8867 GB, free: 2.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-05/0.325, allocations: 28 kB / 0.8868 GB, free: 2.383 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.994e-05/0.3251, allocations: 39.98 kB / 0.8868 GB, free: 2.344 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/0.3264, allocations: 423.2 kB / 0.8872 GB, free: 1.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.025e-05/0.3265, allocations: 55.78 kB / 0.8872 GB, free: 1.875 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.3276, allocations: 187.3 kB / 0.8874 GB, free: 1.691 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.3278, allocations: 91.97 kB / 0.8875 GB, free: 1.602 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 7.294e-06/0.3278, allocations: 4 kB / 0.8875 GB, free: 1.598 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002303/0.3301, allocations: 1.847 MB / 0.8893 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.3301, allocations: 27.98 kB / 0.8893 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.728e-05/0.3301, allocations: 32 kB / 0.8894 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.3313, allocations: 399.2 kB / 0.8898 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-05/0.3313, allocations: 47.8 kB / 0.8898 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007849/0.3321, allocations: 132.1 kB / 0.8899 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.3322, allocations: 83.98 kB / 0.89 GB, free: 15.04 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001447/0.3337, allocations: 1.133 MB / 0.8911 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000262/0.3339, allocations: 102.8 kB / 0.8912 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/0.3355, allocations: 1.1 MB / 0.8923 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.3355, allocations: 12 kB / 0.8923 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.485e-06/0.3355, allocations: 4 kB / 0.8923 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.3355, allocations: 7.984 kB / 0.8923 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/0.3471, allocations: 10.18 MB / 0.9023 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/0.3471, allocations: 12 kB / 0.9023 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006072/0.3478, allocations: 195.6 kB / 0.9024 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.735e-05/0.3478, allocations: 20 kB / 0.9025 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.364e-05/0.3478, allocations: 32 kB / 0.9025 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.045e-05/0.3479, allocations: 31.86 kB / 0.9025 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-05/0.3479, allocations: 28.38 kB / 0.9026 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/0.3498, allocations: 2.162 MB / 0.9047 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004359/0.3502, allocations: 335.9 kB / 0.905 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.3504, allocations: 35.98 kB / 0.905 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008991/0.3513, allocations: 91.88 kB / 0.9051 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.3514, allocations: 103.5 kB / 0.9052 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.454e-05/0.3515, allocations: 40 kB / 0.9052 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008987/0.3524, allocations: 0.7697 MB / 0.906 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3524, allocations: 4 kB / 0.906 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002559/0.355, allocations: 0.7227 MB / 0.9067 GB, free: 13.41 MB / 0.7325 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 (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.002098/0.3571, allocations: 2.738 MB / 0.9094 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003164/0.3603, allocations: 2.478 MB / 0.9118 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.3603, allocations: 0 / 0.9118 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006517/0.3609, allocations: 0.5704 MB / 0.9124 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003597/0.3645, allocations: 258.7 kB / 0.9126 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3818/0.7463, allocations: 16.46 MB / 0.9287 GB, free: 121.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00167/0.748, allocations: 2.006 MB / 0.9306 GB, free: 120.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00207/0.7501, allocations: 0.8526 MB / 0.9315 GB, free: 120.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000786/0.7509, allocations: 0.7268 MB / 0.9322 GB, free: 119.8 MB / 0.7325 GB Notification: Performance of SimCode: time 8.31e-07/0.7509, allocations: 2.656 kB / 0.9322 GB, free: 119.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04116/0.7921, allocations: 27.52 MB / 0.9591 GB, free: 110.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/0.7923, allocations: 238.4 kB / 0.9593 GB, free: 110.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.21/3.003, allocations: 3.938 kB / 0.9593 GB, free: 110.5 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)