Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.ACACTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009858/0.0009858, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001235/0.001235, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005946/0.0005947, allocations: 22.44 kB / 0.6736 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2432, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer): time 0.005937/0.2492, allocations: 4.405 MB / 0.7914 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005656/0.2549, allocations: 3.728 MB / 0.7951 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004553/0.2554, allocations: 15.88 kB / 0.7951 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.2557, allocations: 87.42 kB / 0.7952 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001178/0.2569, allocations: 438.5 kB / 0.7956 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.258, allocations: 363.2 kB / 0.7959 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007978/0.2588, allocations: 0.5618 MB / 0.7965 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.2599, allocations: 0.6472 MB / 0.7971 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003983/0.2603, allocations: 291 kB / 0.7974 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004908/0.2608, allocations: 350.8 kB / 0.7977 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.699e-05/0.2609, allocations: 32 kB / 0.7978 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009326/0.2619, allocations: 459.3 kB / 0.7982 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002416/0.2621, allocations: 247.3 kB / 0.7984 GB, free: 352 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.2623, allocations: 145.3 kB / 0.7986 GB, free: 200 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.2633, allocations: 0.9353 MB / 0.7995 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.2633, allocations: 0 / 0.7995 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2633, allocations: 0 / 0.7995 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.2634, allocations: 0 / 0.7995 GB, free: 15.26 MB / 0.6231 GB 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.00171/0.2651, allocations: 0.9429 MB / 0.8004 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.2651, allocations: 12.02 kB / 0.8004 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008669/0.2738, allocations: 1.653 MB / 0.802 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.2749, allocations: 0.5346 MB / 0.8025 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.389e-05/0.275, allocations: 49.3 kB / 0.8026 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.2752, allocations: 59.98 kB / 0.8027 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004521/0.2797, allocations: 1.825 MB / 0.8044 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.2797, allocations: 7.938 kB / 0.8044 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.2799, allocations: 27.98 kB / 0.8045 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002349/0.2801, allocations: 113.4 kB / 0.8046 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008699/0.2888, allocations: 2.476 MB / 0.807 GB, free: 7.387 MB / 0.6231 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.01217/0.301, allocations: 6.346 MB / 0.8132 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004602/0.3056, allocations: 1.354 MB / 0.8145 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003826/0.3095, allocations: 2.124 MB / 0.8166 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.854e-05/0.3096, allocations: 50.48 kB / 0.8166 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=69): time 4.729e-06/0.3096, allocations: 0 / 0.8166 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of matching and sorting (n=71): time 0.01233/0.3219, allocations: 4.073 MB / 0.8206 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.3221, allocations: 187.9 kB / 0.8208 GB, free: 8.598 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006897/0.3228, allocations: 0.525 MB / 0.8213 GB, free: 8.059 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.3229, allocations: 37.7 kB / 0.8213 GB, free: 8.016 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002789/0.3232, allocations: 386.4 kB / 0.8217 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002868/0.3235, allocations: 252.5 kB / 0.822 GB, free: 7.379 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.938e-05/0.3236, allocations: 20 kB / 0.822 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3238, allocations: 386.7 kB / 0.8223 GB, free: 6.973 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00245/0.3262, allocations: 0.8376 MB / 0.8232 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002636/0.3289, allocations: 1.122 MB / 0.8243 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002581/0.3315, allocations: 0.9031 MB / 0.8251 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.3315, allocations: 8 kB / 0.8251 GB, free: 3.988 MB / 0.6387 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.006826/0.3383, allocations: 2.399 MB / 0.8275 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.001353/0.3397, allocations: 3.219 MB / 0.8306 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.704e-05/0.3398, allocations: 8 kB / 0.8306 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00171/0.3415, allocations: 429.2 kB / 0.831 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002058/0.3436, allocations: 451.2 kB / 0.8315 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005849/0.3494, allocations: 4.342 MB / 0.8357 GB, free: 8.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/0.3515, allocations: 287.5 kB / 0.836 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002228/0.3518, allocations: 51.97 kB / 0.836 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.3518, allocations: 4 kB / 0.836 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005884/0.3577, allocations: 2.073 MB / 0.8381 GB, free: 6.211 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.224e-05/0.3578, allocations: 8 kB / 0.8381 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003472/0.3581, allocations: 113.2 kB / 0.8382 GB, free: 6.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/0.3602, allocations: 471.2 kB / 0.8386 GB, free: 5.629 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/0.3625, allocations: 1.98 MB / 0.8406 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/0.3643, allocations: 271.4 kB / 0.8408 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001925/0.3645, allocations: 55.97 kB / 0.8409 GB, free: 3.191 MB / 0.6544 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 (116): * Single equations (assignments): 114 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007023/0.3653, allocations: 336.8 kB / 0.8412 GB, free: 2.852 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002853/0.3656, allocations: 71.16 kB / 0.8413 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006597/0.3722, allocations: 2.106 MB / 0.8433 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/0.3722, allocations: 8 kB / 0.8433 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/0.3723, allocations: 11.92 kB / 0.8433 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.76e-05/0.3723, allocations: 4 kB / 0.8433 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009205/0.3815, allocations: 3.792 MB / 0.847 GB, free: 12.73 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.3815, allocations: 8.031 kB / 0.8471 GB, free: 12.72 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/0.3832, allocations: 343.4 kB / 0.8474 GB, free: 12.38 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001256/0.3845, allocations: 373.2 kB / 0.8477 GB, free: 12.01 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/0.3846, allocations: 31.97 kB / 0.8478 GB, free: 11.98 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004724/0.3893, allocations: 4.182 MB / 0.8519 GB, free: 7.527 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.228e-06/0.3894, allocations: 7.953 kB / 0.8519 GB, free: 7.52 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006668/0.396, allocations: 2.53 MB / 0.8543 GB, free: 4.805 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006723/0.3967, allocations: 284.1 kB / 0.8546 GB, free: 4.508 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002014/0.397, allocations: 23.98 kB / 0.8546 GB, free: 4.484 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001657/0.3986, allocations: 255.6 kB / 0.8549 GB, free: 4.234 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/0.3988, allocations: 67.81 kB / 0.8549 GB, free: 4.168 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.462e-05/0.3989, allocations: 31.97 kB / 0.855 GB, free: 4.137 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000485/0.3994, allocations: 362.8 kB / 0.8553 GB, free: 3.785 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.31e-07/0.3994, allocations: 3.938 kB / 0.8553 GB, free: 3.781 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001749/0.4012, allocations: 420 kB / 0.8557 GB, free: 3.371 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (58): * Single equations (assignments): 56 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002537/0.4015, allocations: 131.1 kB / 0.8558 GB, free: 3.234 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.009592/0.4111, allocations: 3.403 MB / 0.8592 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/0.4111, allocations: 1.062 kB / 0.8592 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003282/0.4144, allocations: 1.225 MB / 0.8604 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008038/0.4152, allocations: 101.2 kB / 0.8605 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009528/0.4248, allocations: 3.159 MB / 0.8635 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006189/0.4254, allocations: 0.9914 MB / 0.8645 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001886/0.4273, allocations: 497.4 kB / 0.865 GB, free: 9.691 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/0.4276, allocations: 75.38 kB / 0.8651 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of SimCode: time 1.854e-06/0.4276, allocations: 3.938 kB / 0.8651 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of Templates: time 0.02232/0.45, allocations: 12.96 MB / 0.8777 GB, free: 12.67 MB / 0.7012 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1) Environment - environmentSimulation: