Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.655/2.655, allocations: 287.5 MB / 302.4 MB, free: 8.391 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00204/0.00204, allocations: 184 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.13/2.13, allocations: 205.4 MB / 0.6297 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009445/0.000944, allocations: 91.14 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006728/0.0006732, allocations: 15.27 kB / 0.8659 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.221, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.004575/0.2256, allocations: 2.954 MB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004141/0.2298, allocations: 2.072 MB / 0.9834 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002804/0.2302, allocations: 4 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.2304, allocations: 43.64 kB / 0.9834 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007401/0.2312, allocations: 171.2 kB / 0.9836 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009997/0.2322, allocations: 215.5 kB / 0.9838 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000614/0.2328, allocations: 446.5 kB / 0.9842 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006839/0.2335, allocations: 318.8 kB / 0.9845 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002765/0.2338, allocations: 131.5 kB / 0.9846 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000386/0.2342, allocations: 167.4 kB / 0.9848 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.106e-05/0.2343, allocations: 12 kB / 0.9848 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007699/0.2351, allocations: 267.6 kB / 0.9851 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.2352, allocations: 83.78 kB / 0.9852 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.49e-05/0.2353, allocations: 69.58 kB / 0.9852 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005722/0.2359, allocations: 375 kB / 0.9856 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2359, allocations: 0 / 0.9856 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.384e-06/0.2359, allocations: 0 / 0.9856 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.2359, allocations: 0 / 0.9856 GB, free: 20.89 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001075/0.237, allocations: 0.5651 MB / 0.9861 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.2371, allocations: 12.03 kB / 0.9861 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.017e-05/0.2371, allocations: 58.55 kB / 0.9862 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.2384, allocations: 127.4 kB / 0.9863 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.2388, allocations: 270.6 kB / 0.9866 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.2388, allocations: 16.44 kB / 0.9866 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.49e-05/0.2389, allocations: 23.98 kB / 0.9866 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009069/0.2398, allocations: 415.5 kB / 0.987 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.2398, allocations: 0 / 0.987 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.389e-05/0.2399, allocations: 11.94 kB / 0.987 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.969e-05/0.24, allocations: 40.48 kB / 0.9871 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000949/0.241, allocations: 361.9 kB / 0.9874 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003057/0.244, allocations: 2.054 MB / 0.9894 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.2452, allocations: 357.6 kB / 0.9898 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000614/0.2459, allocations: 201.9 kB / 0.9899 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000136/0.246, allocations: 89.28 kB / 0.99 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.2461, allocations: 34.69 kB / 0.9901 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 3.527e-06/0.2461, allocations: 0 / 0.9901 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.00823/0.2543, allocations: 1.765 MB / 0.9918 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.2544, allocations: 85.14 kB / 0.9919 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.2547, allocations: 232.9 kB / 0.9921 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.2547, allocations: 33.7 kB / 0.9921 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.2549, allocations: 184 kB / 0.9923 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.723e-05/0.255, allocations: 114.4 kB / 0.9924 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.255, allocations: 8 kB / 0.9924 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.992e-05/0.2551, allocations: 338.8 kB / 0.9927 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000597/0.2557, allocations: 196.8 kB / 0.9929 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006588/0.2564, allocations: 317 kB / 0.9932 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006758/0.2571, allocations: 243.6 kB / 0.9935 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2571, allocations: 4 kB / 0.9935 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001961/0.2591, allocations: 0.6759 MB / 0.9941 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.122e-05/0.2592, allocations: 176.3 kB / 0.9943 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.2592, allocations: 4 kB / 0.9943 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007157/0.2599, allocations: 147.3 kB / 0.9944 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000717/0.2607, allocations: 99.88 kB / 0.9945 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003161/0.2638, allocations: 3.95 MB / 0.9984 GB, free: 6.883 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005962/0.2645, allocations: 47.89 kB / 0.9984 GB, free: 6.836 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/0.2645, allocations: 12 kB / 0.9984 GB, free: 6.824 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.2646, allocations: 8.125 kB / 0.9985 GB, free: 6.816 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001859/0.2664, allocations: 0.6201 MB / 0.9991 GB, free: 6.184 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.2665, allocations: 0 / 0.9991 GB, free: 6.184 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005723/0.267, allocations: 155.5 kB / 0.9992 GB, free: 6.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006934/0.2678, allocations: 95.88 kB / 0.9993 GB, free: 5.926 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006037/0.2684, allocations: 1.109 MB / 1 GB, free: 4.766 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004968/0.2689, allocations: 35.95 kB / 1 GB, free: 4.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/0.269, allocations: 20.19 kB / 1 GB, free: 4.711 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 41 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00029/0.2693, allocations: 256.9 kB / 1.001 GB, free: 4.449 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.2694, allocations: 27.67 kB / 1.001 GB, free: 4.422 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001868/0.2713, allocations: 0.6281 MB / 1.001 GB, free: 3.773 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.2713, allocations: 7.984 kB / 1.001 GB, free: 3.766 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2713, allocations: 0 / 1.001 GB, free: 3.766 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.2713, allocations: 3.953 kB / 1.001 GB, free: 3.762 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003123/0.2745, allocations: 1.33 MB / 1.003 GB, free: 2.324 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.2745, allocations: 8.031 kB / 1.003 GB, free: 2.316 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004644/0.275, allocations: 67.89 kB / 1.003 GB, free: 2.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006637/0.2757, allocations: 159.2 kB / 1.003 GB, free: 2.082 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.413e-05/0.2757, allocations: 16 kB / 1.003 GB, free: 2.066 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003633/0.2794, allocations: 3.95 MB / 1.007 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/0.2794, allocations: 8.016 kB / 1.007 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002177/0.2816, allocations: 0.8013 MB / 1.008 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002698/0.2819, allocations: 136.8 kB / 1.008 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.17e-05/0.282, allocations: 12 kB / 1.008 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005005/0.2825, allocations: 31.97 kB / 1.008 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.2827, allocations: 43.84 kB / 1.008 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.434e-05/0.2827, allocations: 16 kB / 1.008 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002653/0.283, allocations: 168.5 kB / 1.008 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-07/0.283, allocations: 0 / 1.008 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001062/0.2841, allocations: 156 kB / 1.008 GB, free: 12.36 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002636/0.2868, allocations: 1.357 MB / 1.009 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003452/0.2902, allocations: 1.21 MB / 1.011 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.2903, allocations: 3.938 kB / 1.011 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.2916, allocations: 489.9 kB / 1.011 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008723/0.2925, allocations: 56.41 kB / 1.011 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006323/0.2989, allocations: 2.258 MB / 1.013 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006114/0.2995, allocations: 0.8045 MB / 1.014 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006608/0.3002, allocations: 122.8 kB / 1.014 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002415/0.3005, allocations: 83.41 kB / 1.014 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of SimCode: time 1.312e-06/0.3005, allocations: 4 kB / 1.014 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04176/0.3423, allocations: 8.319 MB / 1.022 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002635/0.3426, allocations: 253 kB / 1.023 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.057/3.4, allocations: 4 kB / 1.023 GB, free: 13.29 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1)