Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.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.OnePhase.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 100.2 kB / 16.36 MB, free: 6.422 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.001087/0.001087, allocations: 198.3 kB / 17.3 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.769/1.769, allocations: 292.3 MB / 0.5496 GB, free: 17.41 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.001453/0.001453, allocations: 71.89 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2264, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.38/0.6064, allocations: 5.359 MB / 0.79 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005543/0.612, allocations: 4.12 MB / 0.7941 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005614/0.6126, allocations: 20.41 kB / 0.7941 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.6141, allocations: 0.5763 MB / 0.7946 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001458/0.6156, allocations: 0.6584 MB / 0.7953 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.6168, allocations: 0.5528 MB / 0.7958 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001188/0.618, allocations: 1.147 MB / 0.7969 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006783/0.6187, allocations: 443.4 kB / 0.7974 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006632/0.6194, allocations: 461.2 kB / 0.7978 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008453/0.6203, allocations: 0.5313 MB / 0.7983 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001888/0.6205, allocations: 65.38 kB / 0.7984 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.6219, allocations: 0.8379 MB / 0.7992 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003089/0.6222, allocations: 335.7 kB / 0.7995 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004068/0.6226, allocations: 423.2 kB / 0.7999 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001754/0.6244, allocations: 1.401 MB / 0.8013 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.6244, allocations: 3.969 kB / 0.8013 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6244, allocations: 0 / 0.8013 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.537e-05/0.6244, allocations: 0 / 0.8013 GB, free: 42.94 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.002014/0.6264, allocations: 1.156 MB / 0.8024 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.6265, allocations: 7.781 kB / 0.8024 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009949/0.6364, allocations: 1.696 MB / 0.8041 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.6378, allocations: 0.6145 MB / 0.8047 GB, free: 41.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.855e-05/0.6378, allocations: 45.47 kB / 0.8047 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/0.6381, allocations: 63.27 kB / 0.8048 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005085/0.6432, allocations: 1.908 MB / 0.8067 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.6432, allocations: 3.219 kB / 0.8067 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.6433, allocations: 27.84 kB / 0.8067 GB, free: 41 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000366/0.6437, allocations: 157.9 kB / 0.8068 GB, free: 40.97 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008137/0.6519, allocations: 2.602 MB / 0.8094 GB, free: 40.45 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01017/0.662, allocations: 6.638 MB / 0.8159 GB, free: 36 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003333/0.6654, allocations: 1.257 MB / 0.8171 GB, free: 35.64 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002528/0.668, allocations: 0.8994 MB / 0.818 GB, free: 35.41 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002649/0.6706, allocations: 1.483 MB / 0.8194 GB, free: 34.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.6707, allocations: 43.08 kB / 0.8195 GB, free: 34.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=73): time 3.186e-06/0.6707, allocations: 3.938 kB / 0.8195 GB, free: 34.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=107): time 0.02839/0.6991, allocations: 8.098 MB / 0.8274 GB, free: 32.49 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.6992, allocations: 95.7 kB / 0.8275 GB, free: 32.39 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009032/0.7001, allocations: 0.5787 MB / 0.828 GB, free: 32.12 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002145/0.7003, allocations: 42.77 kB / 0.8281 GB, free: 32.08 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002251/0.7006, allocations: 415.2 kB / 0.8285 GB, free: 31.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003159/0.7009, allocations: 370.7 kB / 0.8288 GB, free: 31.46 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004247/0.7013, allocations: 262 kB / 0.8291 GB, free: 31.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.575e-05/0.7014, allocations: 387.4 kB / 0.8294 GB, free: 30.95 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002717/0.7041, allocations: 1.108 MB / 0.8305 GB, free: 30.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002868/0.707, allocations: 1.45 MB / 0.8319 GB, free: 29.4 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00552/0.7125, allocations: 2.579 MB / 0.8344 GB, free: 27.84 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.7126, allocations: 3.281 kB / 0.8345 GB, free: 27.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01057/0.7232, allocations: 3.847 MB / 0.8382 GB, free: 25.85 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/0.7232, allocations: 9.531 kB / 0.8382 GB, free: 25.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-05/0.7233, allocations: 13.56 kB / 0.8382 GB, free: 25.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00512/0.7284, allocations: 1.323 MB / 0.8395 GB, free: 25.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002109/0.7305, allocations: 458.7 kB / 0.84 GB, free: 25.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0139/0.7444, allocations: 12.13 MB / 0.8518 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002432/0.7469, allocations: 308.3 kB / 0.8521 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/0.7471, allocations: 65.53 kB / 0.8522 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003146/0.7502, allocations: 1.305 MB / 0.8534 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002955/0.7532, allocations: 1.436 MB / 0.8548 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00573/0.759, allocations: 2.557 MB / 0.8573 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.311e-05/0.759, allocations: 2.375 kB / 0.8573 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=163) (initialization_lambda0): time 0.009645/0.7686, allocations: 3.612 MB / 0.8609 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.7687, allocations: 10.62 kB / 0.8609 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.7687, allocations: 14.41 kB / 0.8609 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003864/0.7726, allocations: 1.056 MB / 0.8619 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002041/0.7747, allocations: 475.1 kB / 0.8624 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/0.7864, allocations: 11.1 MB / 0.8732 GB, free: 13.58 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002504/0.7889, allocations: 299.5 kB / 0.8735 GB, free: 13.29 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/0.7891, allocations: 63.97 kB / 0.8736 GB, free: 13.23 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (123): * Single equations (assignments): 119 * 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): 3 systems {(2,8,100.0%), (2,8,100.0%), (3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0005807/0.7897, allocations: 260 kB / 0.8738 GB, free: 12.96 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002625/0.7899, allocations: 86.91 kB / 0.8739 GB, free: 12.88 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/0.8007, allocations: 3.722 MB / 0.8775 GB, free: 9.145 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/0.8008, allocations: 12 kB / 0.8775 GB, free: 9.133 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/0.8008, allocations: 4 kB / 0.8775 GB, free: 9.129 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.742e-05/0.8008, allocations: 7.984 kB / 0.8775 GB, free: 9.121 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01353/0.8144, allocations: 5.447 MB / 0.8829 GB, free: 3.527 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/0.8144, allocations: 4 kB / 0.8829 GB, free: 3.523 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00167/0.8161, allocations: 362.8 kB / 0.8832 GB, free: 3.172 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004529/0.8206, allocations: 1.19 MB / 0.8844 GB, free: 1.969 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002374/0.8209, allocations: 35.97 kB / 0.8844 GB, free: 1.934 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01589/0.8368, allocations: 11.64 MB / 0.8958 GB, free: 5.746 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-06/0.8368, allocations: 11.94 kB / 0.8958 GB, free: 5.734 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/0.8471, allocations: 3.63 MB / 0.8993 GB, free: 2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/0.8483, allocations: 332 kB / 0.8997 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/0.8485, allocations: 28 kB / 0.8997 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00194/0.8504, allocations: 311.5 kB / 0.9 GB, free: 1.324 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003928/0.8508, allocations: 108.1 kB / 0.9001 GB, free: 1.219 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/0.8509, allocations: 43.97 kB / 0.9001 GB, free: 1.176 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005454/0.8515, allocations: 402.8 kB / 0.9005 GB, free: 0.7812 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8515, allocations: 0 / 0.9005 GB, free: 0.7812 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002383/0.8539, allocations: 0.6017 MB / 0.9011 GB, free: 184 kB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (68): * Single equations (assignments): 64 * 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): 3 systems {(3,9,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000339/0.8542, allocations: 147.5 kB / 0.9012 GB, free: 28 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0145/0.8687, allocations: 5.694 MB / 0.9068 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.8688, allocations: 0 / 0.9068 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005405/0.8742, allocations: 2.122 MB / 0.9089 GB, free: 8.059 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.8756, allocations: 166 kB / 0.909 GB, free: 7.914 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.8863, allocations: 3.514 MB / 0.9125 GB, free: 4.309 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000888/0.8872, allocations: 1.11 MB / 0.9135 GB, free: 3.172 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001776/0.889, allocations: 0.5366 MB / 0.9141 GB, free: 2.676 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003971/0.8894, allocations: 79.38 kB / 0.9141 GB, free: 2.598 MB / 0.7012 GB Notification: Performance of SimCode: time 1.583e-06/0.8895, allocations: 0 / 0.9141 GB, free: 2.598 MB / 0.7012 GB Notification: Performance of Templates: time 0.04398/0.9334, allocations: 27.78 MB / 0.9413 GB, free: 7.027 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1)