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.001256/0.001256, 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.001166/0.001166, 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.367/1.367, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002127/0.002127, allocations: 292.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9248/0.9248, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 103.8 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4143, allocations: 86.97 MB / 0.767 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer): time 0.007471/0.4218, allocations: 5.096 MB / 0.772 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007004/0.4288, allocations: 4.009 MB / 0.7759 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007112/0.4296, allocations: 27.81 kB / 0.776 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.4315, allocations: 0.5718 MB / 0.7765 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001914/0.4334, allocations: 0.6612 MB / 0.7772 GB, free: 9.508 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.4348, allocations: 490.3 kB / 0.7776 GB, free: 9.031 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001527/0.4364, allocations: 0.9971 MB / 0.7786 GB, free: 8.031 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008397/0.4372, allocations: 413.3 kB / 0.779 GB, free: 7.625 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007779/0.438, allocations: 414.5 kB / 0.7794 GB, free: 7.219 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.4391, allocations: 482.3 kB / 0.7799 GB, free: 6.746 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002239/0.4394, allocations: 59.94 kB / 0.7799 GB, free: 6.688 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.4411, allocations: 0.8186 MB / 0.7807 GB, free: 5.867 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004407/0.4415, allocations: 299.2 kB / 0.781 GB, free: 5.574 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006029/0.4421, allocations: 386 kB / 0.7814 GB, free: 5.195 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002274/0.4444, allocations: 1.292 MB / 0.7826 GB, free: 3.902 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4444, allocations: 0 / 0.7826 GB, free: 3.902 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4444, allocations: 0 / 0.7826 GB, free: 3.902 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.187e-05/0.4445, allocations: 0 / 0.7826 GB, free: 3.902 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: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.002767/0.4473, allocations: 1.075 MB / 0.7837 GB, free: 2.777 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.4473, allocations: 8.031 kB / 0.7837 GB, free: 2.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009578/0.4569, allocations: 1.607 MB / 0.7853 GB, free: 1.16 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.458, allocations: 0.5739 MB / 0.7858 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.767e-05/0.4581, allocations: 53.61 kB / 0.7859 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002312/0.4583, allocations: 60.36 kB / 0.7859 GB, free: 448 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005142/0.4635, allocations: 1.836 MB / 0.7877 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/0.4635, allocations: 3.938 kB / 0.7877 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/0.4637, allocations: 27.98 kB / 0.7878 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002282/0.4639, allocations: 105.5 kB / 0.7879 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007967/0.4719, allocations: 2.468 MB / 0.7903 GB, free: 11.93 MB / 0.5606 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.009341/0.4812, allocations: 6.338 MB / 0.7964 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00367/0.4849, allocations: 1.351 MB / 0.7978 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002677/0.4876, allocations: 0.8987 MB / 0.7986 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002805/0.4904, allocations: 2.154 MB / 0.8008 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.4905, allocations: 50.5 kB / 0.8008 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=69): time 3.436e-06/0.4905, allocations: 0 / 0.8008 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of matching and sorting (n=93): time 0.02303/0.5135, allocations: 6.471 MB / 0.8071 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.878e-05/0.5137, allocations: 195.9 kB / 0.8073 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007304/0.5144, allocations: 0.5211 MB / 0.8078 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000121/0.5145, allocations: 41.7 kB / 0.8079 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.5148, allocations: 390.7 kB / 0.8082 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003502/0.5152, allocations: 327.4 kB / 0.8085 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004783/0.5157, allocations: 250.6 kB / 0.8088 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.5159, allocations: 374.8 kB / 0.8091 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002963/0.5188, allocations: 0.9972 MB / 0.8101 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003103/0.522, allocations: 1.283 MB / 0.8114 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005892/0.5279, allocations: 2.257 MB / 0.8136 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.347e-05/0.5279, allocations: 4 kB / 0.8136 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.009918/0.5378, allocations: 3.295 MB / 0.8168 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.5379, allocations: 12.03 kB / 0.8168 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.428e-05/0.5379, allocations: 11.94 kB / 0.8168 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004182/0.5421, allocations: 1.045 MB / 0.8178 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/0.5442, allocations: 459.2 kB / 0.8183 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/0.5566, allocations: 9.667 MB / 0.8277 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002297/0.5589, allocations: 295.5 kB / 0.828 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002512/0.5592, allocations: 59.97 kB / 0.828 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00334/0.5625, allocations: 1.18 MB / 0.8292 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003034/0.5656, allocations: 1.271 MB / 0.8304 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006143/0.5717, allocations: 2.234 MB / 0.8326 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.931e-05/0.5718, allocations: 4 kB / 0.8326 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=152) (initialization_lambda0): time 0.01034/0.5821, allocations: 3.056 MB / 0.8356 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.5822, allocations: 8 kB / 0.8356 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.5822, allocations: 8 kB / 0.8356 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003156/0.5854, allocations: 0.748 MB / 0.8364 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002256/0.5876, allocations: 479.2 kB / 0.8368 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009184/0.5968, allocations: 7.207 MB / 0.8439 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/0.5992, allocations: 295.5 kB / 0.8441 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001993/0.5994, allocations: 55.97 kB / 0.8442 GB, free: 2.508 MB / 0.6075 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 (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,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0005247/0.5999, allocations: 255.9 kB / 0.8444 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003501/0.6003, allocations: 75.16 kB / 0.8445 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009501/0.6098, allocations: 3.051 MB / 0.8475 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.287e-05/0.6098, allocations: 7.922 kB / 0.8475 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.6098, allocations: 4 kB / 0.8475 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005582/0.6104, allocations: 296.1 kB / 0.8478 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/0.6106, allocations: 20 kB / 0.8478 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001922/0.6126, allocations: 279.5 kB / 0.8481 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002531/0.6128, allocations: 95.67 kB / 0.8482 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009572/0.6224, allocations: 3.428 MB / 0.8515 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008765/0.6312, allocations: 3.645 MB / 0.8551 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002698/0.6339, allocations: 0.9948 MB / 0.856 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005352/0.6345, allocations: 362.8 kB / 0.8564 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of Backend: time 3.91e-07/0.6345, allocations: 3.938 kB / 0.8564 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01072/0.6452, allocations: 4.21 MB / 0.8605 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of SimCode: time 0.003028/0.6483, allocations: 2.01 MB / 0.8625 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of Templates: time 0.05556/0.7039, allocations: 34.42 MB / 0.8961 GB, free: 13.17 MB / 0.67 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)