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.0008605/0.0008606, allocations: 91.84 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.005207/0.005207, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.245/1.245, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.546/1.546, allocations: 292.7 MB / 0.5503 GB, free: 14.48 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.0004813/0.0004814, allocations: 19.77 kB / 0.6744 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1726, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer): time 0.004759/0.1774, allocations: 4.721 MB / 0.7926 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004812/0.1822, allocations: 4.042 MB / 0.7966 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.1824, allocations: 11.94 kB / 0.7966 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.1826, allocations: 95.25 kB / 0.7967 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.1837, allocations: 0.6032 MB / 0.7973 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007458/0.1844, allocations: 439.1 kB / 0.7977 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001076/0.1855, allocations: 1.407 MB / 0.799 GB, free: 144 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009441/0.1864, allocations: 0.6928 MB / 0.7997 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003331/0.1868, allocations: 342.6 kB / 0.8001 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005491/0.1873, allocations: 486.1 kB / 0.8005 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.424e-05/0.1874, allocations: 32 kB / 0.8005 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.1886, allocations: 0.9785 MB / 0.8015 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002266/0.1888, allocations: 275.2 kB / 0.8018 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002932/0.1891, allocations: 375.7 kB / 0.8021 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.1903, allocations: 1.3 MB / 0.8034 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1903, allocations: 0 / 0.8034 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1903, allocations: 0 / 0.8034 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.1903, allocations: 0 / 0.8034 GB, free: 11.64 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.001529/0.1918, allocations: 0.9352 MB / 0.8043 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1919, allocations: 15.97 kB / 0.8043 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001262/0.192, allocations: 118.7 kB / 0.8044 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008873/0.2009, allocations: 1.622 MB / 0.806 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000689/0.2016, allocations: 0.5467 MB / 0.8066 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/0.2016, allocations: 45.67 kB / 0.8066 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.2018, allocations: 64.36 kB / 0.8067 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004342/0.2061, allocations: 1.837 MB / 0.8085 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.2062, allocations: 7.938 kB / 0.8085 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.2063, allocations: 23.98 kB / 0.8085 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001988/0.2065, allocations: 105.5 kB / 0.8086 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007201/0.2137, allocations: 2.484 MB / 0.811 GB, free: 3.656 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.007543/0.2212, allocations: 6.353 MB / 0.8172 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003297/0.2245, allocations: 1.366 MB / 0.8185 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002462/0.227, allocations: 0.8987 MB / 0.8194 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002153/0.2292, allocations: 2.169 MB / 0.8215 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.2292, allocations: 54.42 kB / 0.8216 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=69): time 1.943e-06/0.2292, allocations: 4 kB / 0.8216 GB, free: 8.242 MB / 0.6387 GB Notification: Performance of matching and sorting (n=93): time 0.02145/0.2507, allocations: 6.631 MB / 0.8281 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.514e-05/0.2508, allocations: 187.9 kB / 0.8283 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005346/0.2513, allocations: 0.5212 MB / 0.8288 GB, free: 0.8242 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.558e-05/0.2514, allocations: 41.7 kB / 0.8288 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.2516, allocations: 390.7 kB / 0.8292 GB, free: 396 kB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002423/0.2519, allocations: 323.3 kB / 0.8295 GB, free: 68 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.2521, allocations: 97.66 kB / 0.8296 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.2522, allocations: 382.7 kB / 0.8299 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002729/0.2549, allocations: 0.9977 MB / 0.8309 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002905/0.2578, allocations: 1.294 MB / 0.8322 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005487/0.2633, allocations: 2.281 MB / 0.8344 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.2634, allocations: 4 kB / 0.8344 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.009412/0.2728, allocations: 3.353 MB / 0.8377 GB, free: 7.402 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001855/0.273, allocations: 339.6 kB / 0.838 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.273, allocations: 8 kB / 0.838 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004347/0.2773, allocations: 1.096 MB / 0.8391 GB, free: 5.836 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/0.2793, allocations: 463.2 kB / 0.8395 GB, free: 5.383 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01067/0.29, allocations: 8.963 MB / 0.8483 GB, free: 11.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/0.2922, allocations: 303.6 kB / 0.8486 GB, free: 11.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.2924, allocations: 55.97 kB / 0.8486 GB, free: 11.55 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.2924, allocations: 4 kB / 0.8486 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00869/0.3011, allocations: 3.024 MB / 0.8516 GB, free: 8.504 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.3011, allocations: 8 kB / 0.8516 GB, free: 8.496 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002956/0.3041, allocations: 0.7602 MB / 0.8523 GB, free: 7.727 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002066/0.3062, allocations: 495.2 kB / 0.8528 GB, free: 7.242 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008161/0.3143, allocations: 6.934 MB / 0.8596 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/0.3163, allocations: 299.5 kB / 0.8599 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.3164, allocations: 59.97 kB / 0.8599 GB, free: 15.55 MB / 0.6856 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.0004979/0.3169, allocations: 367.1 kB / 0.8603 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/0.3172, allocations: 71.16 kB / 0.8603 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009303/0.3265, allocations: 3.109 MB / 0.8634 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.3265, allocations: 11.98 kB / 0.8634 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.3265, allocations: 8 kB / 0.8634 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.3265, allocations: 3.984 kB / 0.8634 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/0.3378, allocations: 5.02 MB / 0.8683 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.3378, allocations: 4 kB / 0.8683 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001609/0.3395, allocations: 363.7 kB / 0.8686 GB, free: 6.434 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003847/0.3433, allocations: 1.01 MB / 0.8696 GB, free: 5.41 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.18e-05/0.3434, allocations: 31.98 kB / 0.8697 GB, free: 5.379 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009594/0.353, allocations: 8.665 MB / 0.8781 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/0.3531, allocations: 12 kB / 0.8781 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009104/0.3622, allocations: 3.259 MB / 0.8813 GB, free: 8.812 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004972/0.3627, allocations: 312 kB / 0.8816 GB, free: 8.488 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.3629, allocations: 20 kB / 0.8816 GB, free: 8.469 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001846/0.3647, allocations: 295.5 kB / 0.8819 GB, free: 8.18 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002429/0.365, allocations: 91.69 kB / 0.882 GB, free: 8.09 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.785e-05/0.3651, allocations: 43.97 kB / 0.882 GB, free: 8.047 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004301/0.3655, allocations: 370.8 kB / 0.8824 GB, free: 7.688 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3655, allocations: 0 / 0.8824 GB, free: 7.688 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001786/0.3673, allocations: 0.5039 MB / 0.8829 GB, free: 7.184 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 (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.009196/0.3765, allocations: 3.835 MB / 0.8866 GB, free: 3.246 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01179/0.3883, allocations: 4.826 MB / 0.8913 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.3883, allocations: 0 / 0.8913 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003851/0.3922, allocations: 1.749 MB / 0.8931 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.3936, allocations: 125.2 kB / 0.8932 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03486/0.4284, allocations: 14.24 MB / 0.9071 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006842/0.4292, allocations: 1.028 MB / 0.9081 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001861/0.431, allocations: 498.2 kB / 0.9086 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000515/0.4316, allocations: 271.3 kB / 0.9088 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of SimCode: time 6.81e-07/0.4316, allocations: 4 kB / 0.9088 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.681/4.113, allocations: 26.14 MB / 0.9344 GB, free: 127.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/4.113, allocations: 259 kB / 0.9346 GB, free: 127.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.573/6.686, allocations: 0 / 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/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)