Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.817/1.817, allocations: 390.4 MB / 397.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009609/0.0009609, allocations: 185.2 kB / 490.8 MB, free: 1.945 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.151/1.151, allocations: 221.4 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008075/0.0008076, allocations: 95.48 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4165/0.4173, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.5963, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5331/1.13, allocations: 192 MB / 1.399 GB, free: 9.504 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/1.13, allocations: 90.59 kB / 1.399 GB, free: 9.453 MB / 0.823 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.1056/1.235, allocations: 49.8 MB / 1.448 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/1.235, allocations: 12 kB / 1.448 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00853/1.244, allocations: 1.184 MB / 1.449 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008871/1.245, allocations: 0.5587 MB / 1.45 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/1.245, allocations: 20 kB / 1.45 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/1.245, allocations: 36 kB / 1.45 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001973/1.247, allocations: 1.267 MB / 1.451 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/1.249, allocations: 1.298 MB / 1.452 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/1.249, allocations: 3.938 kB / 1.452 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/1.249, allocations: 4 kB / 1.452 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001762/1.249, allocations: 99 kB / 1.452 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007712/1.257, allocations: 6.239 MB / 1.458 GB, free: 5.656 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/1.258, allocations: 0.9292 MB / 1.459 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006952/1.259, allocations: 0.5676 MB / 1.46 GB, free: 4.535 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002259/1.261, allocations: 2.222 MB / 1.462 GB, free: 2.477 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/1.261, allocations: 45.62 kB / 1.462 GB, free: 2.43 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=69): time 2.114e-06/1.261, allocations: 0 / 1.462 GB, free: 2.43 MB / 0.8698 GB Notification: Performance of matching and sorting (n=93): time 0.008317/1.269, allocations: 3.581 MB / 1.466 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.049e-05/1.269, allocations: 207.2 kB / 1.466 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000439/1.27, allocations: 432.6 kB / 1.466 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.053e-05/1.27, allocations: 25.7 kB / 1.466 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/1.27, allocations: 350.7 kB / 1.467 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002319/1.27, allocations: 312.4 kB / 1.467 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.502e-05/1.27, allocations: 4 kB / 1.467 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.27, allocations: 383.2 kB / 1.467 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008502/1.271, allocations: 0.6441 MB / 1.468 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009528/1.272, allocations: 0.916 MB / 1.469 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/1.274, allocations: 0.8761 MB / 1.47 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/1.274, allocations: 4 kB / 1.47 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005325/1.279, allocations: 2.393 MB / 1.472 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008939/1.28, allocations: 3.14 MB / 1.475 GB, free: 6.973 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/1.28, allocations: 8 kB / 1.475 GB, free: 6.965 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002834/1.283, allocations: 0.6668 MB / 1.476 GB, free: 6.383 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00199/1.285, allocations: 390.6 kB / 1.476 GB, free: 6.008 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00761/1.293, allocations: 6.932 MB / 1.483 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/1.295, allocations: 199.7 kB / 1.483 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/1.295, allocations: 64.64 kB / 1.483 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 6.522e-06/1.295, allocations: 7.938 kB / 1.483 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003256/1.298, allocations: 1.78 MB / 1.485 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/1.298, allocations: 8 kB / 1.485 GB, free: 14.08 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005957/1.299, allocations: 220.1 kB / 1.485 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002182/1.301, allocations: 440 kB / 1.485 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003188/1.304, allocations: 3.675 MB / 1.489 GB, free: 10.05 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/1.306, allocations: 187.8 kB / 1.489 GB, free: 9.871 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/1.306, allocations: 63.55 kB / 1.489 GB, free: 9.816 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 (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.0002925/1.306, allocations: 124.4 kB / 1.489 GB, free: 9.691 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002472/1.307, allocations: 71.16 kB / 1.489 GB, free: 9.621 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005704/1.312, allocations: 2.352 MB / 1.492 GB, free: 7.793 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/1.312, allocations: 12 kB / 1.492 GB, free: 7.781 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/1.312, allocations: 8 kB / 1.492 GB, free: 7.773 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/1.312, allocations: 7.891 kB / 1.492 GB, free: 7.766 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007511/1.32, allocations: 4.108 MB / 1.496 GB, free: 3.859 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/1.32, allocations: 4 kB / 1.496 GB, free: 3.855 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/1.321, allocations: 303.6 kB / 1.496 GB, free: 3.559 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003074/1.325, allocations: 0.7841 MB / 1.497 GB, free: 2.762 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/1.325, allocations: 31.81 kB / 1.497 GB, free: 2.73 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008464/1.333, allocations: 7.919 MB / 1.505 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.333, allocations: 4 kB / 1.505 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005144/1.338, allocations: 2.702 MB / 1.507 GB, free: 7.41 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005082/1.343, allocations: 3.088 MB / 1.51 GB, free: 4.094 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004896/1.344, allocations: 316 kB / 1.511 GB, free: 3.762 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/1.344, allocations: 4 kB / 1.511 GB, free: 3.758 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001832/1.346, allocations: 207.7 kB / 1.511 GB, free: 3.555 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/1.346, allocations: 67.77 kB / 1.511 GB, free: 3.488 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/1.346, allocations: 39.97 kB / 1.511 GB, free: 3.449 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.0003652/1.347, allocations: 326.9 kB / 1.511 GB, free: 3.129 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003018/1.35, allocations: 447.9 kB / 1.512 GB, free: 2.691 MB / 0.9167 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 () * 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.0002296/1.35, allocations: 143.3 kB / 1.512 GB, free: 2.543 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004958/1.355, allocations: 3.109 MB / 1.515 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.355, allocations: 0 / 1.515 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001853/1.357, allocations: 1.273 MB / 1.516 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006279/1.357, allocations: 82.52 kB / 1.516 GB, free: 13.99 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00806/1.365, allocations: 2.382 MB / 1.518 GB, free: 11.51 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009913/1.366, allocations: 1.132 MB / 1.52 GB, free: 10.36 MB / 0.9323 GB Notification: Performance of SimCode: time 3.41e-07/1.366, allocations: 0 / 1.52 GB, free: 10.36 MB / 0.9323 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat does not exist to compare? outputFormat=mat