Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.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.ACDCConverter,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009028/0.000903, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001023/0.001023, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.62/1.62, allocations: 205.4 MB / 222.1 MB, free: 5.875 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.797/1.797, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005742/0.0005747, allocations: 12.41 kB / 0.6738 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2721, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.003773/0.2759, allocations: 2.958 MB / 0.7903 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003128/0.2791, allocations: 2.037 MB / 0.7923 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.2793, allocations: 11.94 kB / 0.7923 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002/0.2795, allocations: 39.7 kB / 0.7923 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005161/0.28, allocations: 171.2 kB / 0.7925 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006255/0.2806, allocations: 215.5 kB / 0.7927 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004538/0.2811, allocations: 446.5 kB / 0.7931 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005255/0.2816, allocations: 313.5 kB / 0.7934 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.2818, allocations: 131.5 kB / 0.7936 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003019/0.2822, allocations: 171.4 kB / 0.7937 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.2822, allocations: 15.94 kB / 0.7937 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004648/0.2827, allocations: 263.6 kB / 0.794 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.99e-05/0.2828, allocations: 87.77 kB / 0.7941 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.453e-05/0.2829, allocations: 73.52 kB / 0.7941 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004421/0.2833, allocations: 367.1 kB / 0.7945 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.2833, allocations: 4 kB / 0.7945 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2833, allocations: 0 / 0.7945 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.2833, allocations: 0 / 0.7945 GB, free: 4.512 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.000882/0.2842, allocations: 0.5689 MB / 0.7951 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.2843, allocations: 8.031 kB / 0.7951 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.614e-05/0.2844, allocations: 62.53 kB / 0.7951 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000825/0.2852, allocations: 131.4 kB / 0.7953 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.2855, allocations: 274.5 kB / 0.7955 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.2856, allocations: 16.42 kB / 0.7955 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.537e-05/0.2856, allocations: 16 kB / 0.7955 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007202/0.2864, allocations: 419.5 kB / 0.7959 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.2864, allocations: 0 / 0.7959 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.993e-05/0.2864, allocations: 11.98 kB / 0.796 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.458e-05/0.2865, allocations: 28.55 kB / 0.796 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006191/0.2871, allocations: 365.8 kB / 0.7963 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002348/0.2895, allocations: 2.066 MB / 0.7983 GB, free: 260 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007884/0.2903, allocations: 349.6 kB / 0.7987 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003831/0.2907, allocations: 202 kB / 0.7989 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.2908, allocations: 81.3 kB / 0.799 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.2908, allocations: 38.73 kB / 0.799 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=22): time 2.484e-06/0.2909, allocations: 4 kB / 0.799 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=34): time 0.004888/0.2957, allocations: 1.748 MB / 0.8007 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.2958, allocations: 85.06 kB / 0.8008 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.2961, allocations: 233 kB / 0.801 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.2961, allocations: 33.7 kB / 0.801 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.2963, allocations: 180 kB / 0.8012 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.556e-05/0.2964, allocations: 122.3 kB / 0.8013 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.2964, allocations: 8 kB / 0.8013 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.2965, allocations: 334.8 kB / 0.8017 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/0.2969, allocations: 200.8 kB / 0.8018 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004333/0.2973, allocations: 316 kB / 0.8021 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004448/0.2978, allocations: 248.3 kB / 0.8024 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2978, allocations: 0 / 0.8024 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001284/0.2991, allocations: 0.6809 MB / 0.803 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001629/0.2993, allocations: 180.2 kB / 0.8032 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.2993, allocations: 8 kB / 0.8032 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005366/0.2998, allocations: 143.3 kB / 0.8034 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/0.3003, allocations: 99.88 kB / 0.8035 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002882/0.3032, allocations: 3.942 MB / 0.8073 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003477/0.3035, allocations: 39.95 kB / 0.8073 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.3036, allocations: 20.16 kB / 0.8074 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/0.3036, allocations: 4 kB / 0.8074 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001201/0.3048, allocations: 0.6122 MB / 0.808 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.3048, allocations: 12.05 kB / 0.808 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003729/0.3052, allocations: 147.3 kB / 0.8081 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/0.3056, allocations: 111.8 kB / 0.8082 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006012/0.3063, allocations: 1.109 MB / 0.8093 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/0.3066, allocations: 40.14 kB / 0.8093 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.3066, allocations: 16 kB / 0.8094 GB, free: 4.332 MB / 0.6231 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.0002646/0.3069, allocations: 256.1 kB / 0.8096 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.174e-05/0.307, allocations: 27.67 kB / 0.8096 GB, free: 4.047 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/0.3082, allocations: 0.6248 MB / 0.8102 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3082, allocations: 4 kB / 0.8102 GB, free: 3.402 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.3082, allocations: 4 kB / 0.8102 GB, free: 3.398 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.3083, allocations: 3.984 kB / 0.8103 GB, free: 3.395 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002234/0.3105, allocations: 1.337 MB / 0.8116 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.912e-06/0.3105, allocations: 0 / 0.8116 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.3108, allocations: 67.89 kB / 0.8116 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004304/0.3112, allocations: 159.4 kB / 0.8118 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.3113, allocations: 19.94 kB / 0.8118 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002925/0.3142, allocations: 3.954 MB / 0.8157 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.427e-06/0.3142, allocations: 11.89 kB / 0.8157 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.3155, allocations: 0.7849 MB / 0.8164 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/0.3157, allocations: 136.8 kB / 0.8166 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/0.3158, allocations: 8 kB / 0.8166 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000303/0.3161, allocations: 35.97 kB / 0.8166 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.3162, allocations: 39.84 kB / 0.8166 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.3163, allocations: 16 kB / 0.8167 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002078/0.3165, allocations: 164.5 kB / 0.8168 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3165, allocations: 0 / 0.8168 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009398/0.3174, allocations: 160 kB / 0.817 GB, free: 12 MB / 0.6387 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.001679/0.3191, allocations: 1.369 MB / 0.8183 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002145/0.3213, allocations: 1.208 MB / 0.8195 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.3213, allocations: 0 / 0.8195 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000826/0.3221, allocations: 490.1 kB / 0.82 GB, free: 8.781 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006833/0.3228, allocations: 68.31 kB / 0.82 GB, free: 8.715 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/0.3268, allocations: 2.254 MB / 0.8222 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.3272, allocations: 0.8045 MB / 0.823 GB, free: 5.504 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003708/0.3275, allocations: 110.9 kB / 0.8231 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.3277, allocations: 91.41 kB / 0.8232 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of SimCode: time 1.342e-06/0.3277, allocations: 0 / 0.8232 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0218/0.3495, allocations: 8.286 MB / 0.8313 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002238/0.3498, allocations: 263.4 kB / 0.8315 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.054/2.404, allocations: 0 / 0.8315 GB, free: 12.95 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1) Environment - environmentSimulation: