Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 117.8 kB / 16.42 MB, free: 6.5 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.001672/0.001673, allocations: 183.9 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.288/2.288, allocations: 390.2 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.89 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.898/0.8994, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.005272/0.9047, allocations: 3.408 MB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00382/0.9086, allocations: 2.144 MB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.9088, allocations: 5.094 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.9098, allocations: 290.1 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006131/0.9104, allocations: 237.8 kB / 1.095 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009069/0.9113, allocations: 303.3 kB / 1.095 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006252/0.912, allocations: 402.8 kB / 1.095 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005392/0.9125, allocations: 209.4 kB / 1.095 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002894/0.9128, allocations: 150.8 kB / 1.096 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003703/0.9132, allocations: 178.1 kB / 1.096 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.881e-05/0.9133, allocations: 21.41 kB / 1.096 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008508/0.9141, allocations: 431.9 kB / 1.096 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.9143, allocations: 97.75 kB / 1.096 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.9144, allocations: 139.6 kB / 1.096 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008356/0.9153, allocations: 0.5168 MB / 1.097 GB, free: 460 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.9153, allocations: 0 / 1.097 GB, free: 460 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9153, allocations: 0.875 kB / 1.097 GB, free: 460 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.9153, allocations: 0 / 1.097 GB, free: 460 kB / 0.8575 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.001049/0.9164, allocations: 0.6086 MB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.9164, allocations: 8.719 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009072/0.9173, allocations: 125.2 kB / 1.098 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.9178, allocations: 278.5 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.9178, allocations: 21.64 kB / 1.098 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.614e-05/0.9179, allocations: 20.03 kB / 1.098 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007925/0.9187, allocations: 426.3 kB / 1.098 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.9187, allocations: 1.031 kB / 1.098 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/0.9187, allocations: 11.19 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.04e-05/0.9188, allocations: 33.59 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007676/0.9196, allocations: 351.6 kB / 1.099 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00307/0.9226, allocations: 2.035 MB / 1.101 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008551/0.9235, allocations: 352.8 kB / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004237/0.924, allocations: 185 kB / 1.101 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.9241, allocations: 94.91 kB / 1.101 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.9241, allocations: 33.7 kB / 1.101 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=22): time 3.387e-06/0.9241, allocations: 0 / 1.101 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34): time 0.005657/0.9298, allocations: 1.585 MB / 1.103 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.9298, allocations: 81.67 kB / 1.103 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/0.9302, allocations: 239.7 kB / 1.103 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.735e-05/0.9303, allocations: 31.48 kB / 1.103 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.9304, allocations: 181.7 kB / 1.103 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.9305, allocations: 119.3 kB / 1.104 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.9307, allocations: 79.52 kB / 1.104 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.9308, allocations: 336.8 kB / 1.104 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004677/0.9313, allocations: 196.8 kB / 1.104 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005035/0.9318, allocations: 306 kB / 1.104 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009535/0.9328, allocations: 0.5036 MB / 1.105 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.9328, allocations: 1.375 kB / 1.105 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001356/0.9342, allocations: 0.6638 MB / 1.106 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.9342, allocations: 12.16 kB / 1.106 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.9342, allocations: 7.266 kB / 1.106 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005302/0.9348, allocations: 148.7 kB / 1.106 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/0.9352, allocations: 101 kB / 1.106 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003198/0.9384, allocations: 4.163 MB / 1.11 GB, free: 6.871 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/0.9387, allocations: 34.91 kB / 1.11 GB, free: 6.863 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.9388, allocations: 18.83 kB / 1.11 GB, free: 6.859 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005328/0.9393, allocations: 316.5 kB / 1.11 GB, free: 6.699 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004832/0.9398, allocations: 299.8 kB / 1.11 GB, free: 6.512 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009181/0.9407, allocations: 0.5018 MB / 1.111 GB, free: 6.23 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.685e-06/0.9408, allocations: 1.125 kB / 1.111 GB, free: 6.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001378/0.9421, allocations: 0.6521 MB / 1.112 GB, free: 5.949 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.9422, allocations: 6.562 kB / 1.112 GB, free: 5.949 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.9422, allocations: 3.5 kB / 1.112 GB, free: 5.949 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004492/0.9426, allocations: 152.8 kB / 1.112 GB, free: 5.883 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/0.943, allocations: 95.08 kB / 1.112 GB, free: 5.871 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002937/0.946, allocations: 4.167 MB / 1.116 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003442/0.9463, allocations: 31.64 kB / 1.116 GB, free: 1.863 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.9464, allocations: 18.31 kB / 1.116 GB, free: 1.859 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001861/0.9466, allocations: 222.9 kB / 1.116 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-05/0.9467, allocations: 24.98 kB / 1.116 GB, free: 1.633 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.948, allocations: 0.6074 MB / 1.117 GB, free: 1.363 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.948, allocations: 3.484 kB / 1.117 GB, free: 1.363 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.9481, allocations: 4 kB / 1.117 GB, free: 1.359 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002016/0.9483, allocations: 137 kB / 1.117 GB, free: 1.238 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/0.9483, allocations: 6.672 kB / 1.117 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003371/0.9487, allocations: 36.83 kB / 1.117 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.9488, allocations: 24.28 kB / 1.117 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001761/0.9506, allocations: 0.7912 MB / 1.118 GB, free: 0.8203 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001546/0.9521, allocations: 0.9645 MB / 1.119 GB, free: 296 kB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004482/0.9526, allocations: 217.3 kB / 1.119 GB, free: 224 kB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001865/0.9528, allocations: 168 kB / 1.119 GB, free: 120 kB / 0.8731 GB Notification: Performance of Backend: time 6.11e-07/0.9528, allocations: 4 kB / 1.119 GB, free: 116 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003013/0.9558, allocations: 1.354 MB / 1.12 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of SimCode: time 0.001514/0.9573, allocations: 1.11 MB / 1.121 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of Templates: time 0.02052/0.9778, allocations: 9.156 MB / 1.13 GB, free: 13.8 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1)