Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.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.OnePhase.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer") translateModel(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009501/0.0009499, allocations: 84.38 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.001148/0.001148, 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 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001735/0.001736, allocations: 266.4 kB / 291.3 MB, free: 1.957 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9316/0.9316, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004421/0.0004422, allocations: 12.19 kB / 0.598 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1604, allocations: 88.55 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer): time 0.007333/0.1678, allocations: 4.485 MB / 0.6889 GB, free: 10.96 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00812/0.1759, allocations: 3.747 MB / 0.6925 GB, free: 7.215 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005626/0.1766, allocations: 17.75 kB / 0.6925 GB, free: 7.199 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000404/0.177, allocations: 83.31 kB / 0.6926 GB, free: 7.117 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001768/0.1788, allocations: 0.5078 MB / 0.6931 GB, free: 6.609 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.1801, allocations: 352.2 kB / 0.6935 GB, free: 6.27 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001695/0.1818, allocations: 1.145 MB / 0.6946 GB, free: 5.121 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001515/0.1833, allocations: 0.6417 MB / 0.6952 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006234/0.184, allocations: 342.6 kB / 0.6955 GB, free: 4.113 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009043/0.1849, allocations: 466.4 kB / 0.696 GB, free: 3.656 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.185, allocations: 32 kB / 0.696 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.1865, allocations: 483.3 kB / 0.6965 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004271/0.1869, allocations: 279.1 kB / 0.6967 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.1872, allocations: 145.3 kB / 0.6969 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.1889, allocations: 0.939 MB / 0.6978 GB, free: 1.789 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.189, allocations: 0 / 0.6978 GB, free: 1.789 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.189, allocations: 0 / 0.6978 GB, free: 1.789 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.189, allocations: 0 / 0.6978 GB, free: 1.789 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.002789/0.1918, allocations: 0.9546 MB / 0.6987 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.1919, allocations: 8.031 kB / 0.6987 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01647/0.2083, allocations: 1.621 MB / 0.7003 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001681/0.2101, allocations: 0.5378 MB / 0.7008 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.029e-05/0.2102, allocations: 53.3 kB / 0.7009 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003152/0.2105, allocations: 59.98 kB / 0.7009 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008139/0.2187, allocations: 1.829 MB / 0.7027 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.873e-05/0.2187, allocations: 0 / 0.7027 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001965/0.219, allocations: 27.98 kB / 0.7028 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004321/0.2194, allocations: 113.3 kB / 0.7029 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01366/0.2331, allocations: 2.476 MB / 0.7053 GB, free: 9.949 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01656/0.2497, allocations: 6.357 MB / 0.7115 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006647/0.2564, allocations: 1.363 MB / 0.7128 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004585/0.261, allocations: 0.9024 MB / 0.7137 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004637/0.2657, allocations: 2.154 MB / 0.7158 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.656e-05/0.2657, allocations: 46.5 kB / 0.7159 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=69): time 5.28e-06/0.2658, allocations: 4 kB / 0.7159 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=93): time 0.03383/0.2996, allocations: 6.623 MB / 0.7223 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.978e-05/0.2998, allocations: 195.9 kB / 0.7225 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006865/0.3004, allocations: 0.5172 MB / 0.723 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.3006, allocations: 45.7 kB / 0.7231 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/0.3008, allocations: 394.7 kB / 0.7234 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003408/0.3012, allocations: 319.3 kB / 0.7237 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.3013, allocations: 24 kB / 0.7238 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3015, allocations: 378.8 kB / 0.7241 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002528/0.304, allocations: 0.9938 MB / 0.7251 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002701/0.3067, allocations: 1.287 MB / 0.7264 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002658/0.3094, allocations: 1.09 MB / 0.7274 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.3094, allocations: 4 kB / 0.7274 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.009044/0.3185, allocations: 3.33 MB / 0.7307 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003171/0.3188, allocations: 331.6 kB / 0.731 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.437e-05/0.3189, allocations: 8 kB / 0.731 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004236/0.3231, allocations: 1.103 MB / 0.7321 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001939/0.3251, allocations: 459.3 kB / 0.7325 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/0.337, allocations: 9.208 MB / 0.7415 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/0.339, allocations: 307.6 kB / 0.7418 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002253/0.3392, allocations: 59.95 kB / 0.7419 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.3393, allocations: 10.28 kB / 0.7419 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008178/0.3474, allocations: 3.012 MB / 0.7448 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-05/0.3475, allocations: 8 kB / 0.7448 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002743/0.3502, allocations: 0.7597 MB / 0.7456 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001966/0.3522, allocations: 491.2 kB / 0.746 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008773/0.361, allocations: 6.911 MB / 0.7528 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/0.3628, allocations: 303.5 kB / 0.7531 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001898/0.363, allocations: 55.97 kB / 0.7531 GB, free: 7.062 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (124): * Single equations (assignments): 120 * 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: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006041/0.3636, allocations: 361.7 kB / 0.7535 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002811/0.3639, allocations: 71.16 kB / 0.7535 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008712/0.3726, allocations: 3.105 MB / 0.7566 GB, free: 3.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.3727, allocations: 8 kB / 0.7566 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/0.3727, allocations: 4 kB / 0.7566 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.3727, allocations: 7.984 kB / 0.7566 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01106/0.3838, allocations: 5.01 MB / 0.7615 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.3838, allocations: 4 kB / 0.7615 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001498/0.3853, allocations: 359.4 kB / 0.7618 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003634/0.389, allocations: 1.006 MB / 0.7628 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.3891, allocations: 39.91 kB / 0.7628 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009913/0.399, allocations: 8.662 MB / 0.7713 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.3991, allocations: 4 kB / 0.7713 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008353/0.4074, allocations: 3.266 MB / 0.7745 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005933/0.4081, allocations: 312 kB / 0.7748 GB, free: 32 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000219/0.4083, allocations: 23.98 kB / 0.7748 GB, free: 8 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.3102/0.7186, allocations: 284.9 kB / 0.7751 GB, free: 87.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002944/0.7189, allocations: 90.77 kB / 0.7752 GB, free: 87.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.719, allocations: 41.47 kB / 0.7752 GB, free: 87.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004899/0.7195, allocations: 363.7 kB / 0.7756 GB, free: 87.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7195, allocations: 0.625 kB / 0.7756 GB, free: 87.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001926/0.7214, allocations: 0.5094 MB / 0.7761 GB, free: 87.02 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (66): * Single equations (assignments): 62 * 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: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000207/0.7216, allocations: 134.5 kB / 0.7762 GB, free: 86.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01153/0.7332, allocations: 4.961 MB / 0.781 GB, free: 86.11 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.7332, allocations: 0.75 kB / 0.781 GB, free: 86.11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003516/0.7367, allocations: 1.735 MB / 0.7827 GB, free: 85.63 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.7378, allocations: 124 kB / 0.7828 GB, free: 85.63 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008644/0.7465, allocations: 3.522 MB / 0.7863 GB, free: 84.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008215/0.7473, allocations: 1.035 MB / 0.7873 GB, free: 84.01 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002161/0.7495, allocations: 0.4918 MB / 0.7878 GB, free: 83.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003362/0.7498, allocations: 78.03 kB / 0.7878 GB, free: 83.96 MB / 0.5606 GB Notification: Performance of SimCode: time 1.082e-06/0.7498, allocations: 3.938 kB / 0.7878 GB, free: 83.96 MB / 0.5606 GB Notification: Performance of Templates: time 0.02897/0.7788, allocations: 19.71 MB / 0.8071 GB, free: 77.27 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1)