Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.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.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter",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.001118/0.001119, allocations: 105.4 kB / 15.7 MB, free: 24 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.001027/0.001027, allocations: 199.1 kB / 16.64 MB, free: 6.453 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.331/1.331, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.691/1.691, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001448/0.001448, allocations: 76.5 kB / 0.6718 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2508, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.004663/0.2555, allocations: 2.82 MB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002992/0.2586, allocations: 2.039 MB / 0.7884 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.2588, allocations: 7.938 kB / 0.7884 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007806/0.2595, allocations: 231 kB / 0.7886 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004064/0.26, allocations: 191.2 kB / 0.7888 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006048/0.2606, allocations: 279.2 kB / 0.7891 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003404/0.2609, allocations: 318.8 kB / 0.7894 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003271/0.2613, allocations: 166.2 kB / 0.7895 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.2614, allocations: 119.6 kB / 0.7896 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.2617, allocations: 151.5 kB / 0.7898 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/0.2618, allocations: 20 kB / 0.7898 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005265/0.2623, allocations: 375.3 kB / 0.7902 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.2624, allocations: 99.7 kB / 0.7903 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.2625, allocations: 111.5 kB / 0.7904 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005199/0.2631, allocations: 470.7 kB / 0.7908 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2631, allocations: 0 / 0.7908 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2631, allocations: 3.938 kB / 0.7908 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.2631, allocations: 0 / 0.7908 GB, free: 5.891 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009365/0.264, allocations: 0.5575 MB / 0.7914 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.2641, allocations: 8.031 kB / 0.7914 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.241e-05/0.2641, allocations: 58.67 kB / 0.7914 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007101/0.2649, allocations: 112.5 kB / 0.7915 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.2652, allocations: 258.9 kB / 0.7918 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.2652, allocations: 12.81 kB / 0.7918 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.176e-05/0.2653, allocations: 27.92 kB / 0.7918 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006069/0.2659, allocations: 385.9 kB / 0.7922 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.2659, allocations: 0 / 0.7922 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.2659, allocations: 4 kB / 0.7922 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.114e-05/0.266, allocations: 27.98 kB / 0.7922 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006233/0.2666, allocations: 359.6 kB / 0.7926 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.2685, allocations: 1.718 MB / 0.7942 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006225/0.2691, allocations: 356 kB / 0.7946 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/0.2694, allocations: 177.6 kB / 0.7947 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001483/0.2696, allocations: 89.09 kB / 0.7948 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.2696, allocations: 38.56 kB / 0.7949 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 1.272e-06/0.2696, allocations: 0 / 0.7949 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.007024/0.2767, allocations: 1.909 MB / 0.7967 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.2768, allocations: 85.11 kB / 0.7968 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.2769, allocations: 177.3 kB / 0.797 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.277, allocations: 33.7 kB / 0.797 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.2771, allocations: 152.3 kB / 0.7972 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.2772, allocations: 122.2 kB / 0.7973 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.2774, allocations: 77.59 kB / 0.7974 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2775, allocations: 330.8 kB / 0.7977 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004696/0.278, allocations: 260.7 kB / 0.7979 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004955/0.2785, allocations: 329.5 kB / 0.7982 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009638/0.2795, allocations: 0.6033 MB / 0.7988 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.2795, allocations: 4 kB / 0.7988 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001134/0.2806, allocations: 0.6428 MB / 0.7994 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.2806, allocations: 4.938 kB / 0.7995 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.2807, allocations: 4 kB / 0.7995 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.2807, allocations: 4 kB / 0.7995 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008448/0.2815, allocations: 152 kB / 0.7996 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.878e-05/0.2816, allocations: 11.94 kB / 0.7996 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000364/0.2819, allocations: 47.92 kB / 0.7997 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.954e-05/0.282, allocations: 16 kB / 0.7997 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005502/0.2825, allocations: 360 kB / 0.8 GB, free: 12 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004776/0.283, allocations: 317.3 kB / 0.8003 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009044/0.2839, allocations: 0.5666 MB / 0.8009 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.284, allocations: 4 kB / 0.8009 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001061/0.285, allocations: 0.6181 MB / 0.8015 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.285, allocations: 7.984 kB / 0.8015 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.2851, allocations: 4.281 kB / 0.8015 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/0.2851, allocations: 12 kB / 0.8015 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007769/0.2859, allocations: 139.8 kB / 0.8016 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.2859, allocations: 4 kB / 0.8016 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.2862, allocations: 47.94 kB / 0.8017 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.724e-05/0.2863, allocations: 15.98 kB / 0.8017 GB, free: 10.21 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * 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.0001849/0.2865, allocations: 210.9 kB / 0.8019 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.851e-05/0.2866, allocations: 23.81 kB / 0.8019 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.2879, allocations: 0.6529 MB / 0.8026 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.2879, allocations: 4 kB / 0.8026 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.2879, allocations: 4 kB / 0.8026 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.2879, allocations: 3.984 kB / 0.8026 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002096/0.29, allocations: 1.371 MB / 0.8039 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.29, allocations: 0 / 0.8039 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005431/0.2906, allocations: 123.8 kB / 0.804 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.2906, allocations: 8.25 kB / 0.804 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.2906, allocations: 11.94 kB / 0.8041 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.2906, allocations: 4 kB / 0.8041 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.2906, allocations: 4 kB / 0.8041 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009954/0.2916, allocations: 0.6992 MB / 0.8047 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.2918, allocations: 144.7 kB / 0.8049 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.677e-05/0.2919, allocations: 15.88 kB / 0.8049 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003077/0.2922, allocations: 43.94 kB / 0.8049 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.178e-05/0.2923, allocations: 31.91 kB / 0.805 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.2923, allocations: 12 kB / 0.805 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001213/0.2924, allocations: 148.9 kB / 0.8051 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2924, allocations: 0 / 0.8051 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006181/0.2931, allocations: 144 kB / 0.8053 GB, free: 6.398 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * 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.001472/0.2945, allocations: 1.291 MB / 0.8065 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001618/0.2962, allocations: 0.8546 MB / 0.8074 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2962, allocations: 1.125 kB / 0.8074 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004572/0.2966, allocations: 256.2 kB / 0.8076 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005218/0.2972, allocations: 54.14 kB / 0.8077 GB, free: 3.898 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005271/0.3025, allocations: 3.791 MB / 0.8114 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.3029, allocations: 0.7838 MB / 0.8121 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004652/0.3033, allocations: 158.8 kB / 0.8123 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.3036, allocations: 87.41 kB / 0.8124 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of SimCode: time 9.72e-07/0.3036, allocations: 0 / 0.8124 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/0.3297, allocations: 7.267 MB / 0.8195 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.89/8.22, allocations: 12.47 kB / 0.8195 GB, free: 7.77 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1)