Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001633/0.001633, allocations: 193 kB / 16.13 MB, free: 6.66 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.349/1.349, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002047/0.002047, allocations: 286.7 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9166/0.9166, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 88.5 kB / 0.5945 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1588, allocations: 86.97 MB / 0.6794 GB, free: 1.152 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.0178/0.1767, allocations: 16.31 MB / 0.6954 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00849/0.1852, allocations: 5.748 MB / 0.701 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008884/0.1861, allocations: 35.94 kB / 0.701 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00345/0.1896, allocations: 1.44 MB / 0.7024 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00187/0.1915, allocations: 0.7865 MB / 0.7032 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002306/0.1938, allocations: 0.9577 MB / 0.7041 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005086/0.1989, allocations: 6.043 MB / 0.71 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00889/0.2078, allocations: 6.323 MB / 0.7162 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00247/0.2103, allocations: 1.457 MB / 0.7176 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003431/0.2137, allocations: 2.151 MB / 0.7197 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001101/0.2148, allocations: 296 kB / 0.72 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003151/0.218, allocations: 1.096 MB / 0.7211 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002282/0.2203, allocations: 1.532 MB / 0.7226 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003078/0.2234, allocations: 1.475 MB / 0.724 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006575/0.23, allocations: 5.98 MB / 0.7299 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.23, allocations: 0 / 0.7299 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.193e-06/0.23, allocations: 0 / 0.7299 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001811/0.2302, allocations: 3.938 kB / 0.7299 GB, free: 13.33 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.006392/0.2366, allocations: 2.761 MB / 0.7326 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2366, allocations: 8.031 kB / 0.7326 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003123/0.2398, allocations: 0.6652 MB / 0.7332 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002209/0.242, allocations: 1.427 MB / 0.7346 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.2421, allocations: 210 kB / 0.7348 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003761/0.2425, allocations: 272.4 kB / 0.7351 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006961/0.2495, allocations: 4.719 MB / 0.7397 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.238e-05/0.2495, allocations: 0 / 0.7397 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002771/0.2498, allocations: 116 kB / 0.7398 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001455/0.25, allocations: 148.6 kB / 0.7399 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00591/0.2559, allocations: 4.086 MB / 0.7439 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02051/0.2764, allocations: 20.31 MB / 0.7637 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003038/0.2795, allocations: 1.88 MB / 0.7656 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/0.2806, allocations: 0.7626 MB / 0.7663 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001624/0.2808, allocations: 109.7 kB / 0.7664 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.2808, allocations: 47.14 kB / 0.7665 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=77): time 3.196e-06/0.2808, allocations: 0 / 0.7665 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of matching and sorting (n=92): time 0.01721/0.298, allocations: 5.182 MB / 0.7715 GB, free: 276 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.709e-05/0.2982, allocations: 137.5 kB / 0.7717 GB, free: 108 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3504/0.6485, allocations: 0.9654 MB / 0.7726 GB, free: 89.65 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002352/0.6488, allocations: 41.08 kB / 0.7727 GB, free: 89.62 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006716/0.6495, allocations: 1.186 MB / 0.7738 GB, free: 89.13 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002706/0.6498, allocations: 329.8 kB / 0.7741 GB, free: 88.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005209/0.6503, allocations: 361.7 kB / 0.7745 GB, free: 88.85 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.009e-05/0.6504, allocations: 327.9 kB / 0.7748 GB, free: 88.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/0.6517, allocations: 0.8776 MB / 0.7756 GB, free: 88.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/0.6533, allocations: 1.51 MB / 0.7771 GB, free: 87.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002679/0.656, allocations: 2.455 MB / 0.7795 GB, free: 85.54 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/0.656, allocations: 9.75 kB / 0.7795 GB, free: 85.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003402/0.6594, allocations: 2.511 MB / 0.782 GB, free: 84.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.6594, allocations: 14.12 kB / 0.782 GB, free: 84.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/0.6595, allocations: 23.53 kB / 0.782 GB, free: 84.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.071e-05/0.6595, allocations: 31.7 kB / 0.782 GB, free: 84.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002141/0.6617, allocations: 0.5112 MB / 0.7825 GB, free: 84.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.593e-05/0.6617, allocations: 43.36 kB / 0.7826 GB, free: 84.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.6627, allocations: 155.8 kB / 0.7827 GB, free: 84.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.6629, allocations: 88.05 kB / 0.7828 GB, free: 84.44 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002404/0.6653, allocations: 1.901 MB / 0.7847 GB, free: 83.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0014/0.6667, allocations: 1.505 MB / 0.7861 GB, free: 82.56 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00246/0.6692, allocations: 2.43 MB / 0.7885 GB, free: 80.94 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.164e-05/0.6692, allocations: 8.469 kB / 0.7885 GB, free: 80.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003344/0.6725, allocations: 2.492 MB / 0.791 GB, free: 79.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.6726, allocations: 13.88 kB / 0.791 GB, free: 79.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/0.6726, allocations: 22.11 kB / 0.791 GB, free: 79.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.606e-05/0.6726, allocations: 30.53 kB / 0.791 GB, free: 79.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002278/0.6749, allocations: 0.5169 MB / 0.7915 GB, free: 79.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.365e-05/0.675, allocations: 42.59 kB / 0.7916 GB, free: 79.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.676, allocations: 143.3 kB / 0.7917 GB, free: 79.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.6761, allocations: 83.64 kB / 0.7918 GB, free: 79.86 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (211): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003914/0.6765, allocations: 295 kB / 0.7921 GB, free: 79.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.6767, allocations: 101 kB / 0.7922 GB, free: 79.54 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002563/0.6793, allocations: 1.826 MB / 0.7939 GB, free: 78.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.6793, allocations: 12.88 kB / 0.794 GB, free: 78.71 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.6793, allocations: 3.625 kB / 0.794 GB, free: 78.71 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.6794, allocations: 6.141 kB / 0.794 GB, free: 78.71 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009607/0.689, allocations: 9.057 MB / 0.8028 GB, free: 72.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/0.689, allocations: 10.06 kB / 0.8028 GB, free: 72.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009967/0.69, allocations: 253.2 kB / 0.8031 GB, free: 72.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.752e-05/0.69, allocations: 14.75 kB / 0.8031 GB, free: 72.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.085e-05/0.6901, allocations: 33.48 kB / 0.8031 GB, free: 72.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.609e-05/0.6901, allocations: 19.72 kB / 0.8031 GB, free: 72.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-05/0.6901, allocations: 15.81 kB / 0.8031 GB, free: 72.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.6918, allocations: 1.767 MB / 0.8049 GB, free: 70.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003806/0.6922, allocations: 291.2 kB / 0.8051 GB, free: 70.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.6924, allocations: 36.75 kB / 0.8052 GB, free: 70.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006795/0.693, allocations: 76.09 kB / 0.8052 GB, free: 70.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.6932, allocations: 85.62 kB / 0.8053 GB, free: 70.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.21e-05/0.6932, allocations: 38.41 kB / 0.8054 GB, free: 70.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008582/0.6941, allocations: 0.7316 MB / 0.8061 GB, free: 70.31 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6941, allocations: 1.094 kB / 0.8061 GB, free: 70.31 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002987/0.6971, allocations: 0.8015 MB / 0.8069 GB, free: 70.25 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000248/0.6974, allocations: 171.8 kB / 0.807 GB, free: 70.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003904/0.7013, allocations: 2.974 MB / 0.8099 GB, free: 69.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.7013, allocations: 12.09 kB / 0.8099 GB, free: 69.06 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005795/0.7019, allocations: 0.5678 MB / 0.8105 GB, free: 68.85 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.7031, allocations: 173 kB / 0.8107 GB, free: 68.76 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005672/0.7088, allocations: 5.549 MB / 0.8161 GB, free: 65.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001503/0.7103, allocations: 2.112 MB / 0.8181 GB, free: 63.62 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002171/0.7125, allocations: 1.021 MB / 0.8191 GB, free: 62.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003063/0.7128, allocations: 95.36 kB / 0.8192 GB, free: 62.8 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.7128, allocations: 0 / 0.8192 GB, free: 62.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.0194/0.7322, allocations: 14.23 MB / 0.8331 GB, free: 48.77 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)