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.001018/0.001018, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004842/0.004842, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.404/1.404, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00203/0.00203, allocations: 258.8 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.087/1.087, allocations: 178.9 MB / 0.5095 GB, free: 4.734 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004401/0.0004401, allocations: 11.84 kB / 0.6099 GB, free: 24.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1631, allocations: 90.73 MB / 0.6985 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer): time 0.006116/0.1693, allocations: 4.715 MB / 0.7031 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006456/0.1758, allocations: 3.999 MB / 0.707 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000235/0.176, allocations: 15.88 kB / 0.707 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.1763, allocations: 87.31 kB / 0.7071 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.1779, allocations: 0.6338 MB / 0.7077 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009444/0.1789, allocations: 424.7 kB / 0.7082 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001494/0.1804, allocations: 1.415 MB / 0.7095 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.1816, allocations: 0.6942 MB / 0.7102 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004419/0.1821, allocations: 334.6 kB / 0.7105 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006997/0.1828, allocations: 486.1 kB / 0.711 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.381e-05/0.1828, allocations: 32 kB / 0.711 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.1843, allocations: 0.9863 MB / 0.712 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003019/0.1846, allocations: 267.2 kB / 0.7122 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000391/0.185, allocations: 371.8 kB / 0.7126 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.1866, allocations: 1.312 MB / 0.7139 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1866, allocations: 0 / 0.7139 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1866, allocations: 0 / 0.7139 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.966e-06/0.1866, allocations: 0 / 0.7139 GB, free: 2.82 MB / 0.4981 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.001816/0.1884, allocations: 0.9404 MB / 0.7148 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1885, allocations: 8.031 kB / 0.7148 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/0.1986, allocations: 1.65 MB / 0.7164 GB, free: 176 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009109/0.1995, allocations: 0.5505 MB / 0.717 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.479e-05/0.1996, allocations: 49.61 kB / 0.717 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/0.1998, allocations: 60.36 kB / 0.7171 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005099/0.2049, allocations: 1.848 MB / 0.7189 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.2049, allocations: 4 kB / 0.7189 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.2051, allocations: 27.98 kB / 0.7189 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002429/0.2053, allocations: 105.4 kB / 0.719 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008296/0.2136, allocations: 2.499 MB / 0.7214 GB, free: 10.92 MB / 0.5137 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.009676/0.2233, allocations: 6.372 MB / 0.7277 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004021/0.2273, allocations: 1.379 MB / 0.729 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002899/0.2302, allocations: 0.9102 MB / 0.7299 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002871/0.2331, allocations: 2.154 MB / 0.732 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/0.2332, allocations: 46.47 kB / 0.732 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=69): time 4.529e-06/0.2332, allocations: 7.922 kB / 0.732 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=93): time 0.02584/0.259, allocations: 6.769 MB / 0.7387 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.2592, allocations: 203.8 kB / 0.7389 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007175/0.2599, allocations: 0.5173 MB / 0.7394 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.26, allocations: 41.7 kB / 0.7394 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002991/0.2604, allocations: 382.7 kB / 0.7398 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003415/0.2607, allocations: 327.3 kB / 0.7401 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.2609, allocations: 101.7 kB / 0.7402 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.2611, allocations: 374.8 kB / 0.7405 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003215/0.2643, allocations: 1.013 MB / 0.7415 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003471/0.2678, allocations: 1.31 MB / 0.7428 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006522/0.2743, allocations: 2.308 MB / 0.7451 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.638e-05/0.2744, allocations: 4 kB / 0.7451 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.01113/0.2855, allocations: 3.368 MB / 0.7483 GB, free: 14.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002998/0.2858, allocations: 339.7 kB / 0.7487 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.2859, allocations: 8 kB / 0.7487 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004952/0.2908, allocations: 1.092 MB / 0.7497 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002327/0.2932, allocations: 471.2 kB / 0.7502 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/0.306, allocations: 8.958 MB / 0.7589 GB, free: 2.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002349/0.3083, allocations: 307.5 kB / 0.7592 GB, free: 2.617 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.3085, allocations: 59.95 kB / 0.7593 GB, free: 2.559 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/0.3085, allocations: 8.062 kB / 0.7593 GB, free: 2.551 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2808/0.5893, allocations: 3.042 MB / 0.7623 GB, free: 61.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.882e-05/0.5893, allocations: 8.219 kB / 0.7623 GB, free: 61.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003399/0.5927, allocations: 0.7585 MB / 0.763 GB, free: 61.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002443/0.5952, allocations: 495 kB / 0.7635 GB, free: 61.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00815/0.6034, allocations: 6.931 MB / 0.7703 GB, free: 57.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/0.6054, allocations: 303.3 kB / 0.7705 GB, free: 57.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.6055, allocations: 66.5 kB / 0.7706 GB, free: 57.81 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 (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.0004454/0.606, allocations: 355.5 kB / 0.7709 GB, free: 57.62 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.6062, allocations: 70.84 kB / 0.771 GB, free: 57.62 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009865/0.6161, allocations: 3.113 MB / 0.7741 GB, free: 56.95 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.6161, allocations: 11.25 kB / 0.7741 GB, free: 56.95 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/0.6161, allocations: 5.656 kB / 0.7741 GB, free: 56.95 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.6161, allocations: 9.562 kB / 0.7741 GB, free: 56.95 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/0.6276, allocations: 5.032 MB / 0.779 GB, free: 55.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.6276, allocations: 3.766 kB / 0.779 GB, free: 55.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001636/0.6293, allocations: 356.9 kB / 0.7793 GB, free: 55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0038/0.6331, allocations: 1.014 MB / 0.7803 GB, free: 54.87 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.119e-05/0.6332, allocations: 33.12 kB / 0.7804 GB, free: 54.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008238/0.6414, allocations: 8.669 MB / 0.7888 GB, free: 48.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.6415, allocations: 9.469 kB / 0.7888 GB, free: 48.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008701/0.6502, allocations: 3.253 MB / 0.792 GB, free: 47.17 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004457/0.6506, allocations: 310.2 kB / 0.7923 GB, free: 46.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.6508, allocations: 26.3 kB / 0.7923 GB, free: 46.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001824/0.6526, allocations: 293 kB / 0.7926 GB, free: 46.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002646/0.6529, allocations: 85.36 kB / 0.7927 GB, free: 46.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.653, allocations: 50.94 kB / 0.7927 GB, free: 46.72 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005282/0.6535, allocations: 373.8 kB / 0.7931 GB, free: 46.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6535, allocations: 1.25 kB / 0.7931 GB, free: 46.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00184/0.6554, allocations: 0.5087 MB / 0.7936 GB, free: 46.44 MB / 0.545 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 (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 Backend phase and start with SimCode phase: time 0.0002013/0.6556, allocations: 135.7 kB / 0.7937 GB, free: 46.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01162/0.6672, allocations: 4.842 MB / 0.7985 GB, free: 43.56 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.6672, allocations: 2.062 kB / 0.7985 GB, free: 43.56 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003623/0.6709, allocations: 1.748 MB / 0.8002 GB, free: 42.45 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.6722, allocations: 119.7 kB / 0.8003 GB, free: 42.38 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009292/0.6815, allocations: 3.589 MB / 0.8038 GB, free: 40.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/0.6819, allocations: 1.035 MB / 0.8048 GB, free: 39.35 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001796/0.6837, allocations: 0.5025 MB / 0.8053 GB, free: 39.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/0.6841, allocations: 85.27 kB / 0.8054 GB, free: 39.05 MB / 0.545 GB Notification: Performance of SimCode: time 7.41e-07/0.6841, allocations: 1 kB / 0.8054 GB, free: 39.05 MB / 0.545 GB Notification: Performance of Templates: time 0.02286/0.7069, allocations: 20.56 MB / 0.8254 GB, free: 23.15 MB / 0.545 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)