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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.807/1.807, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001127/0.001127, allocations: 178.5 kB / 377.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.925/1.925, allocations: 205.4 MB / 0.6366 GB, free: 9.527 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 88.2 kB / 0.7509 GB, free: 62.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003797, allocations: 8 kB / 0.8749 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2947, allocations: 116.3 MB / 0.9884 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8012/1.096, allocations: 173.5 MB / 1.158 GB, free: 8.496 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/1.096, allocations: 98.52 kB / 1.158 GB, free: 8.418 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:43:5-43:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.0514/1.148, allocations: 20.74 MB / 1.178 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.034e-06/1.148, allocations: 4 kB / 1.178 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.549e-05/1.148, allocations: 7.984 kB / 1.178 GB, free: 4.164 MB / 0.7448 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.001309/1.149, allocations: 0.594 MB / 1.179 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/1.149, allocations: 12.03 kB / 1.179 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000141/1.149, allocations: 68.58 kB / 1.179 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/1.15, allocations: 124.3 kB / 1.179 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000505/1.151, allocations: 271.7 kB / 1.179 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/1.151, allocations: 16.44 kB / 1.179 GB, free: 3 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.911e-05/1.151, allocations: 23.94 kB / 1.179 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000731/1.152, allocations: 425.2 kB / 1.18 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/1.152, allocations: 3.938 kB / 1.18 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/1.152, allocations: 12 kB / 1.18 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.852e-05/1.152, allocations: 24.55 kB / 1.18 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006821/1.153, allocations: 361.9 kB / 1.18 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002694/1.155, allocations: 2.053 MB / 1.182 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008317/1.156, allocations: 345.7 kB / 1.182 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/1.156, allocations: 93.23 kB / 1.182 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/1.156, allocations: 34.75 kB / 1.182 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 2.174e-06/1.156, allocations: 0 / 1.182 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of matching and sorting (n=34): time 0.005265/1.162, allocations: 1.771 MB / 1.184 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/1.162, allocations: 85.11 kB / 1.184 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/1.162, allocations: 216 kB / 1.185 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.191e-05/1.162, allocations: 29.7 kB / 1.185 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/1.162, allocations: 176.1 kB / 1.185 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/1.162, allocations: 122.3 kB / 1.185 GB, free: 12.94 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-05/1.162, allocations: 8 kB / 1.185 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.162, allocations: 338.8 kB / 1.185 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004218/1.163, allocations: 204.7 kB / 1.185 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004813/1.163, allocations: 321.3 kB / 1.186 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004566/1.164, allocations: 243.4 kB / 1.186 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.164, allocations: 0 / 1.186 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0014/1.165, allocations: 0.6752 MB / 1.187 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006752/1.166, allocations: 1.142 MB / 1.188 GB, free: 9.879 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/1.166, allocations: 4 kB / 1.188 GB, free: 9.875 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006222/1.167, allocations: 141.1 kB / 1.188 GB, free: 9.727 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004471/1.167, allocations: 103.8 kB / 1.188 GB, free: 9.625 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003331/1.17, allocations: 3.975 MB / 1.192 GB, free: 5.332 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/1.171, allocations: 44.2 kB / 1.192 GB, free: 5.289 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.076e-05/1.171, allocations: 16 kB / 1.192 GB, free: 5.273 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.171, allocations: 9.812 kB / 1.192 GB, free: 5.266 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001359/1.172, allocations: 0.6375 MB / 1.192 GB, free: 4.617 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/1.172, allocations: 4 kB / 1.192 GB, free: 4.613 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004423/1.173, allocations: 137.5 kB / 1.193 GB, free: 4.469 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004375/1.173, allocations: 103.9 kB / 1.193 GB, free: 4.367 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009835/1.174, allocations: 1.106 MB / 1.194 GB, free: 3.211 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/1.175, allocations: 40.16 kB / 1.194 GB, free: 3.172 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/1.175, allocations: 12 kB / 1.194 GB, free: 3.16 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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.0003636/1.175, allocations: 253 kB / 1.194 GB, free: 2.902 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/1.175, allocations: 31.61 kB / 1.194 GB, free: 2.871 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/1.177, allocations: 0.638 MB / 1.195 GB, free: 2.223 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/1.177, allocations: 7.938 kB / 1.195 GB, free: 2.215 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.177, allocations: 0 / 1.195 GB, free: 2.215 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/1.177, allocations: 3.984 kB / 1.195 GB, free: 2.211 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/1.179, allocations: 1.228 MB / 1.196 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/1.179, allocations: 8.219 kB / 1.196 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002946/1.179, allocations: 69.58 kB / 1.196 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000459/1.18, allocations: 155.3 kB / 1.196 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/1.18, allocations: 12 kB / 1.196 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003412/1.183, allocations: 3.992 MB / 1.2 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.183, allocations: 0 / 1.2 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/1.185, allocations: 0.8946 MB / 1.201 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000207/1.185, allocations: 140.9 kB / 1.201 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/1.185, allocations: 11.98 kB / 1.201 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/1.186, allocations: 35.97 kB / 1.201 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/1.186, allocations: 35.91 kB / 1.201 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/1.186, allocations: 12 kB / 1.201 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001901/1.186, allocations: 176.4 kB / 1.201 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-07/1.186, allocations: 0 / 1.201 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0009394/1.187, allocations: 175.9 kB / 1.202 GB, free: 10.76 MB / 0.7761 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 (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.002328/1.189, allocations: 2.029 MB / 1.203 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002176/1.191, allocations: 1.224 MB / 1.205 GB, free: 7.344 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/1.191, allocations: 0 / 1.205 GB, free: 7.344 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007725/1.192, allocations: 0.4944 MB / 1.205 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/1.193, allocations: 56.03 kB / 1.205 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004595/1.197, allocations: 4.092 MB / 1.209 GB, free: 2.543 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/1.198, allocations: 0.8123 MB / 1.21 GB, free: 1.703 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003841/1.198, allocations: 114 kB / 1.21 GB, free: 1.598 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/1.198, allocations: 95.34 kB / 1.21 GB, free: 1.504 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/1.198, allocations: 4 kB / 1.21 GB, free: 1.5 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/1.222, allocations: 8.185 MB / 1.218 GB, free: 9.578 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/1.222, allocations: 241 kB / 1.218 GB, free: 9.336 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.19/3.412, allocations: 1.938 kB / 1.218 GB, free: 9.336 MB / 0.7917 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)