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.0008977/0.0008977, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005993/0.005994, allocations: 170.4 kB / 16.27 MB, free: 6.648 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.411/1.411, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.672/1.672, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004966/0.0004966, allocations: 14 kB / 0.6744 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2222, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.002955/0.2252, allocations: 2.517 MB / 0.7905 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002684/0.2279, allocations: 2.02 MB / 0.7924 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.811e-05/0.228, allocations: 4 kB / 0.7924 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.2281, allocations: 35.77 kB / 0.7925 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004188/0.2285, allocations: 179.3 kB / 0.7926 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005082/0.2291, allocations: 239.5 kB / 0.7929 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003941/0.2295, allocations: 462.8 kB / 0.7933 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005786/0.2301, allocations: 358.5 kB / 0.7937 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.2302, allocations: 99.56 kB / 0.7938 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.2305, allocations: 155.5 kB / 0.7939 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.2305, allocations: 12 kB / 0.7939 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005478/0.2311, allocations: 447.1 kB / 0.7943 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.48e-05/0.2312, allocations: 83.78 kB / 0.7944 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.2313, allocations: 129.2 kB / 0.7945 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004801/0.2318, allocations: 466.6 kB / 0.795 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.2318, allocations: 3.938 kB / 0.795 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2318, allocations: 4 kB / 0.795 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2318, allocations: 0 / 0.795 GB, free: 4.234 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.0007743/0.2326, allocations: 0.5186 MB / 0.7955 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.2326, allocations: 8.031 kB / 0.7955 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.734e-05/0.2327, allocations: 58.72 kB / 0.7956 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006989/0.2334, allocations: 104.5 kB / 0.7957 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.2337, allocations: 256.5 kB / 0.7959 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.2337, allocations: 12.81 kB / 0.7959 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.919e-05/0.2337, allocations: 23.88 kB / 0.7959 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006022/0.2343, allocations: 389.9 kB / 0.7963 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.2344, allocations: 3.938 kB / 0.7963 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.2344, allocations: 12 kB / 0.7963 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.015e-05/0.2344, allocations: 27.77 kB / 0.7964 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006188/0.2351, allocations: 367.7 kB / 0.7967 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.2369, allocations: 1.741 MB / 0.7984 GB, free: 480 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006463/0.2376, allocations: 345 kB / 0.7987 GB, free: 116 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003343/0.2379, allocations: 193.7 kB / 0.7989 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001486/0.2381, allocations: 85.11 kB / 0.799 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.2381, allocations: 38.5 kB / 0.799 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 1.402e-06/0.2381, allocations: 0 / 0.799 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=35): time 0.00743/0.2455, allocations: 2.075 MB / 0.8011 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.2456, allocations: 81.11 kB / 0.8011 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.2458, allocations: 179.9 kB / 0.8013 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.2458, allocations: 29.7 kB / 0.8013 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 9.242e-05/0.2459, allocations: 152.4 kB / 0.8015 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.337e-05/0.246, allocations: 118.3 kB / 0.8016 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.399e-05/0.2461, allocations: 41.7 kB / 0.8016 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2462, allocations: 330.8 kB / 0.802 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004642/0.2467, allocations: 255.8 kB / 0.8022 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005233/0.2472, allocations: 349.4 kB / 0.8025 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.2482, allocations: 0.6268 MB / 0.8031 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2482, allocations: 0 / 0.8031 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001124/0.2494, allocations: 0.6623 MB / 0.8038 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.116e-05/0.2495, allocations: 160.9 kB / 0.8039 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.2495, allocations: 0 / 0.8039 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.2495, allocations: 8 kB / 0.804 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008849/0.2504, allocations: 151.8 kB / 0.8041 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.2504, allocations: 4 kB / 0.8041 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003989/0.2508, allocations: 55.97 kB / 0.8042 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.2509, allocations: 19.92 kB / 0.8042 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.281e-06/0.2509, allocations: 8 kB / 0.8042 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001067/0.252, allocations: 0.5932 MB / 0.8048 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.252, allocations: 4 kB / 0.8048 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.51e-06/0.252, allocations: 4 kB / 0.8048 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008073/0.2528, allocations: 152 kB / 0.8049 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2528, allocations: 4 kB / 0.8049 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003591/0.2532, allocations: 47.94 kB / 0.805 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-05/0.2532, allocations: 19.98 kB / 0.805 GB, free: 9.512 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.0001954/0.2534, allocations: 243 kB / 0.8052 GB, free: 9.266 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.783e-05/0.2535, allocations: 31.66 kB / 0.8052 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/0.2548, allocations: 0.677 MB / 0.8059 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.2549, allocations: 4 kB / 0.8059 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.2549, allocations: 4 kB / 0.8059 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.2549, allocations: 0 / 0.8059 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/0.257, allocations: 1.39 MB / 0.8073 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.257, allocations: 4 kB / 0.8073 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000565/0.2576, allocations: 128.1 kB / 0.8074 GB, free: 6.926 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.2576, allocations: 4 kB / 0.8074 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.2576, allocations: 11.98 kB / 0.8074 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.2576, allocations: 4 kB / 0.8074 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.2576, allocations: 3.938 kB / 0.8074 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009708/0.2586, allocations: 0.7307 MB / 0.8081 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.2588, allocations: 144.7 kB / 0.8083 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.63e-05/0.2588, allocations: 19.94 kB / 0.8083 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003277/0.2591, allocations: 43.94 kB / 0.8083 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.072e-05/0.2592, allocations: 35.84 kB / 0.8084 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.2593, allocations: 8 kB / 0.8084 GB, free: 5.867 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001182/0.2594, allocations: 148.3 kB / 0.8085 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2594, allocations: 4 kB / 0.8085 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000596/0.26, allocations: 144 kB / 0.8087 GB, free: 5.578 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.001308/0.2613, allocations: 1.303 MB / 0.8099 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001497/0.2628, allocations: 0.8801 MB / 0.8108 GB, free: 3.344 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2628, allocations: 0 / 0.8108 GB, free: 3.344 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004398/0.2633, allocations: 272.4 kB / 0.811 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005396/0.2638, allocations: 45.12 kB / 0.8111 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004838/0.2687, allocations: 3.95 MB / 0.8149 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.269, allocations: 0.7877 MB / 0.8157 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005118/0.2695, allocations: 174.8 kB / 0.8159 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.2697, allocations: 79.41 kB / 0.816 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of SimCode: time 4.2e-07/0.2698, allocations: 4 kB / 0.816 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01683/0.2866, allocations: 6.748 MB / 0.8226 GB, free: 7.285 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/0.2868, allocations: 244.9 kB / 0.8228 GB, free: 7.02 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/2.01, allocations: 0 / 0.8228 GB, free: 7.02 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --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)