Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009684/0.0009684, allocations: 100.1 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.001016/0.001016, 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.553/1.553, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.913/1.913, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0005125/0.0005126, allocations: 15.38 kB / 0.6737 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2364, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer): time 0.005602/0.242, allocations: 4.339 MB / 0.7915 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006044/0.2481, allocations: 3.717 MB / 0.7951 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005438/0.2487, allocations: 15.88 kB / 0.7951 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.2491, allocations: 87.42 kB / 0.7952 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.2506, allocations: 450.5 kB / 0.7956 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.2518, allocations: 363.2 kB / 0.796 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001035/0.2528, allocations: 0.5618 MB / 0.7965 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.254, allocations: 0.6408 MB / 0.7972 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005301/0.2546, allocations: 298.9 kB / 0.7974 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006516/0.2552, allocations: 350.8 kB / 0.7978 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.2554, allocations: 32 kB / 0.7978 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.2565, allocations: 455.3 kB / 0.7982 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000304/0.2568, allocations: 259.3 kB / 0.7985 GB, free: 272 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002146/0.257, allocations: 141.3 kB / 0.7986 GB, free: 124 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001277/0.2583, allocations: 0.9353 MB / 0.7995 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.2583, allocations: 0 / 0.7995 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2583, allocations: 3.938 kB / 0.7995 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.885e-05/0.2583, allocations: 0 / 0.7995 GB, free: 15.18 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.001967/0.2603, allocations: 0.9429 MB / 0.8005 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.2604, allocations: 12.03 kB / 0.8005 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002209/0.2606, allocations: 118.5 kB / 0.8006 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008987/0.2696, allocations: 1.653 MB / 0.8022 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.2712, allocations: 0.5378 MB / 0.8027 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.212e-05/0.2712, allocations: 45.3 kB / 0.8028 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002805/0.2715, allocations: 56 kB / 0.8028 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004916/0.2765, allocations: 1.825 MB / 0.8046 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/0.2765, allocations: 3.938 kB / 0.8046 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/0.2766, allocations: 31.94 kB / 0.8046 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000229/0.2769, allocations: 109.5 kB / 0.8047 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007358/0.2843, allocations: 2.476 MB / 0.8072 GB, free: 7.191 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.008881/0.2932, allocations: 6.361 MB / 0.8134 GB, free: 440 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003396/0.2966, allocations: 1.359 MB / 0.8147 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002706/0.2993, allocations: 2.166 MB / 0.8168 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.2993, allocations: 42.5 kB / 0.8169 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=69): time 2.745e-06/0.2994, allocations: 4 kB / 0.8169 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of matching and sorting (n=93): time 0.02209/0.3215, allocations: 6.624 MB / 0.8233 GB, free: 6.059 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.3216, allocations: 195.9 kB / 0.8235 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007008/0.3223, allocations: 0.5173 MB / 0.824 GB, free: 5.293 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001636/0.3225, allocations: 41.7 kB / 0.8241 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002699/0.3228, allocations: 382.7 kB / 0.8244 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003542/0.3231, allocations: 327.3 kB / 0.8247 GB, free: 4.539 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.3233, allocations: 27.94 kB / 0.8248 GB, free: 4.512 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.3234, allocations: 378.8 kB / 0.8251 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002879/0.3263, allocations: 0.9977 MB / 0.8261 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003003/0.3294, allocations: 1.287 MB / 0.8274 GB, free: 1.734 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003015/0.3324, allocations: 1.087 MB / 0.8284 GB, free: 0.6484 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/0.3324, allocations: 4 kB / 0.8284 GB, free: 0.6445 MB / 0.6387 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00968/0.3421, allocations: 3.326 MB / 0.8317 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.00116/0.3433, allocations: 3.23 MB / 0.8348 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.3433, allocations: 8 kB / 0.8348 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004387/0.3477, allocations: 1.107 MB / 0.8359 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002095/0.3498, allocations: 459.3 kB / 0.8364 GB, free: 8.234 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01223/0.3621, allocations: 9.432 MB / 0.8456 GB, free: 14.28 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002279/0.3644, allocations: 299.6 kB / 0.8458 GB, free: 13.99 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/0.3646, allocations: 63.95 kB / 0.8459 GB, free: 13.93 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.3646, allocations: 4 kB / 0.8459 GB, free: 13.92 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00859/0.3732, allocations: 3.016 MB / 0.8489 GB, free: 10.89 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.3733, allocations: 12.03 kB / 0.8489 GB, free: 10.88 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002889/0.3762, allocations: 0.7593 MB / 0.8496 GB, free: 10.11 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002071/0.3782, allocations: 483.4 kB / 0.8501 GB, free: 9.641 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008688/0.3869, allocations: 7.099 MB / 0.857 GB, free: 2.141 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/0.3891, allocations: 287.6 kB / 0.8573 GB, free: 1.859 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.3892, allocations: 63.95 kB / 0.8573 GB, free: 1.797 MB / 0.67 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.0006556/0.3899, allocations: 363.5 kB / 0.8577 GB, free: 1.434 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002854/0.3902, allocations: 75.06 kB / 0.8578 GB, free: 1.359 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009173/0.3994, allocations: 3.09 MB / 0.8608 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/0.3994, allocations: 8 kB / 0.8608 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/0.3994, allocations: 8 kB / 0.8608 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/0.3995, allocations: 7.969 kB / 0.8608 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01159/0.4111, allocations: 5.015 MB / 0.8657 GB, free: 9.059 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.4111, allocations: 11.94 kB / 0.8657 GB, free: 9.047 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001575/0.4127, allocations: 360 kB / 0.8661 GB, free: 8.695 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003678/0.4164, allocations: 1.006 MB / 0.867 GB, free: 7.676 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/0.4165, allocations: 39.97 kB / 0.8671 GB, free: 7.637 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009873/0.4264, allocations: 8.886 MB / 0.8757 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.255e-05/0.4264, allocations: 7.984 kB / 0.8758 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008844/0.4353, allocations: 3.51 MB / 0.8792 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007346/0.436, allocations: 308 kB / 0.8795 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.4362, allocations: 23.98 kB / 0.8795 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001744/0.438, allocations: 291.5 kB / 0.8798 GB, free: 9.844 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002573/0.4382, allocations: 91.78 kB / 0.8799 GB, free: 9.754 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-05/0.4383, allocations: 39.97 kB / 0.8799 GB, free: 9.715 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004552/0.4388, allocations: 362.8 kB / 0.8803 GB, free: 9.363 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4388, allocations: 0 / 0.8803 GB, free: 9.363 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00195/0.4407, allocations: 0.5039 MB / 0.8807 GB, free: 8.859 MB / 0.7012 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.00998/0.4507, allocations: 5.599 MB / 0.8862 GB, free: 3.074 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01225/0.463, allocations: 4.963 MB / 0.8911 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.51e-05/0.4631, allocations: 4 kB / 0.8911 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003913/0.467, allocations: 1.745 MB / 0.8928 GB, free: 12.22 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007615/0.4678, allocations: 98.28 kB / 0.8929 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02834/0.4961, allocations: 14.64 MB / 0.9072 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008182/0.497, allocations: 1.047 MB / 0.9082 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001954/0.4989, allocations: 498.2 kB / 0.9087 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004748/0.4994, allocations: 271.2 kB / 0.9089 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of SimCode: time 1.533e-06/0.4994, allocations: 0 / 0.9089 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4549/0.9543, allocations: 26.1 MB / 0.9344 GB, free: 127.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/0.9546, allocations: 226.5 kB / 0.9346 GB, free: 127.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.589/3.543, allocations: 4.953 kB / 0.9346 GB, free: 127.3 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1) Environment - environmentSimulation: