Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001217/0.001217, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.00127/0.00127, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.473/1.473, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002129/0.002129, allocations: 278.2 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.957/0.957, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 103.8 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4449/0.4468, allocations: 86.97 MB / 0.767 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.005577/0.4525, allocations: 3.39 MB / 0.7704 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003856/0.4564, allocations: 2.17 MB / 0.7725 GB, free: 14.31 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003371/0.4567, allocations: 11.94 kB / 0.7725 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.4579, allocations: 284.9 kB / 0.7728 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007347/0.4587, allocations: 238.9 kB / 0.773 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009667/0.4597, allocations: 307 kB / 0.7733 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005821/0.4603, allocations: 394.5 kB / 0.7737 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003904/0.4607, allocations: 199.2 kB / 0.7738 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.461, allocations: 155.4 kB / 0.774 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003831/0.4613, allocations: 171.3 kB / 0.7742 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.857e-05/0.4614, allocations: 24 kB / 0.7742 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007708/0.4622, allocations: 431.1 kB / 0.7746 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.4623, allocations: 95.72 kB / 0.7747 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.4625, allocations: 135.3 kB / 0.7748 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009924/0.4635, allocations: 0.5206 MB / 0.7753 GB, free: 11.39 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4635, allocations: 4 kB / 0.7753 GB, free: 11.39 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4635, allocations: 0 / 0.7753 GB, free: 11.39 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.4635, allocations: 0 / 0.7753 GB, free: 11.39 MB / 0.545 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.001267/0.4648, allocations: 0.608 MB / 0.7759 GB, free: 10.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.4649, allocations: 8.031 kB / 0.7759 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000944/0.4658, allocations: 120.4 kB / 0.776 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004181/0.4663, allocations: 283.7 kB / 0.7763 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.4663, allocations: 20.8 kB / 0.7763 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.42e-05/0.4664, allocations: 20.38 kB / 0.7764 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007785/0.4671, allocations: 415.9 kB / 0.7767 GB, free: 9.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.4672, allocations: 0 / 0.7767 GB, free: 9.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.487e-05/0.4672, allocations: 11.98 kB / 0.7768 GB, free: 9.809 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.411e-05/0.4673, allocations: 36.53 kB / 0.7768 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007024/0.468, allocations: 349.9 kB / 0.7771 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002792/0.4708, allocations: 2.042 MB / 0.7791 GB, free: 7.199 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008355/0.4717, allocations: 360.5 kB / 0.7795 GB, free: 6.832 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00038/0.472, allocations: 185.5 kB / 0.7796 GB, free: 6.645 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.4722, allocations: 93.03 kB / 0.7797 GB, free: 6.535 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.4722, allocations: 34.56 kB / 0.7798 GB, free: 6.492 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.4722, allocations: 0 / 0.7798 GB, free: 6.492 MB / 0.545 GB Notification: Performance of matching and sorting (n=34): time 0.005036/0.4773, allocations: 1.576 MB / 0.7813 GB, free: 4.883 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.4773, allocations: 81.11 kB / 0.7814 GB, free: 4.785 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.4776, allocations: 244.8 kB / 0.7816 GB, free: 4.543 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.4776, allocations: 29.7 kB / 0.7816 GB, free: 4.508 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.4777, allocations: 180.1 kB / 0.7818 GB, free: 4.328 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.4778, allocations: 118.3 kB / 0.7819 GB, free: 4.211 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.478, allocations: 86.03 kB / 0.782 GB, free: 4.121 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.4781, allocations: 334.8 kB / 0.7823 GB, free: 3.785 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003954/0.4785, allocations: 198.4 kB / 0.7825 GB, free: 3.586 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004779/0.479, allocations: 301.1 kB / 0.7828 GB, free: 3.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008253/0.4798, allocations: 0.5075 MB / 0.7833 GB, free: 2.699 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.4798, allocations: 0 / 0.7833 GB, free: 2.699 MB / 0.545 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001275/0.4811, allocations: 0.6655 MB / 0.7839 GB, free: 2.016 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.4811, allocations: 4.406 kB / 0.784 GB, free: 2.012 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.4812, allocations: 8 kB / 0.784 GB, free: 2.004 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005388/0.4817, allocations: 147.3 kB / 0.7841 GB, free: 1.848 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003956/0.4821, allocations: 91.88 kB / 0.7842 GB, free: 1.758 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003026/0.4851, allocations: 4.167 MB / 0.7883 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003278/0.4855, allocations: 31.97 kB / 0.7883 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.075e-05/0.4855, allocations: 24.14 kB / 0.7883 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004869/0.486, allocations: 316.9 kB / 0.7886 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004432/0.4865, allocations: 305 kB / 0.7889 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008508/0.4874, allocations: 0.5043 MB / 0.7894 GB, free: 12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.976e-06/0.4874, allocations: 0 / 0.7894 GB, free: 12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001255/0.4886, allocations: 0.6524 MB / 0.79 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.4886, allocations: 8 kB / 0.79 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.4887, allocations: 0 / 0.79 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004222/0.4891, allocations: 155.5 kB / 0.7902 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.4895, allocations: 91.88 kB / 0.7903 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002945/0.4925, allocations: 4.178 MB / 0.7944 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003368/0.4928, allocations: 31.95 kB / 0.7944 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.4928, allocations: 16 kB / 0.7944 GB, free: 6.508 MB / 0.5606 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.0001799/0.493, allocations: 212.2 kB / 0.7946 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.607e-05/0.4931, allocations: 31.62 kB / 0.7946 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.4944, allocations: 0.601 MB / 0.7952 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.4945, allocations: 3.938 kB / 0.7952 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4945, allocations: 3.938 kB / 0.7952 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.4946, allocations: 140.8 kB / 0.7954 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/0.4947, allocations: 7.906 kB / 0.7954 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000322/0.495, allocations: 35.95 kB / 0.7954 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.804e-05/0.4951, allocations: 23.97 kB / 0.7954 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001521/0.4966, allocations: 0.7878 MB / 0.7962 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001352/0.498, allocations: 0.9568 MB / 0.7971 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003844/0.4984, allocations: 223.7 kB / 0.7973 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001578/0.4986, allocations: 172.5 kB / 0.7975 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of Backend: time 4.51e-07/0.4986, allocations: 0 / 0.7975 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002776/0.5014, allocations: 1.353 MB / 0.7988 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001351/0.5027, allocations: 1.104 MB / 0.7999 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of Templates: time 0.0156/0.5183, allocations: 9.157 MB / 0.8089 GB, free: 7.609 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1)