Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",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 9.1.1-maint.9.1.x/package.mo): time 1.845/1.845, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.001032/0.001032, allocations: 185.2 kB / 487 MB, free: 5.367 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.135/1.135, allocations: 221.3 MB / 0.7819 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008358/0.0008356, allocations: 95.5 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4073/0.4082, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.5849, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5125/1.098, allocations: 183.2 MB / 1.384 GB, free: 9.805 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/1.098, allocations: 93 kB / 1.384 GB, free: 9.754 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:42:5-42:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.05003/1.148, allocations: 23.05 MB / 1.407 GB, free: 6.406 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/1.148, allocations: 8 kB / 1.407 GB, free: 6.398 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009767/1.149, allocations: 126.4 kB / 1.407 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/1.149, allocations: 276.4 kB / 1.407 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/1.149, allocations: 8 kB / 1.407 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/1.149, allocations: 12 kB / 1.407 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003873/1.15, allocations: 265.7 kB / 1.407 GB, free: 5.789 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004502/1.15, allocations: 369.9 kB / 1.408 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/1.15, allocations: 0 / 1.408 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/1.15, allocations: 3.906 kB / 1.408 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.955e-05/1.15, allocations: 39.64 kB / 1.408 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0021/1.152, allocations: 2.008 MB / 1.41 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/1.153, allocations: 278.5 kB / 1.41 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/1.153, allocations: 177.8 kB / 1.41 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.988e-05/1.153, allocations: 89.28 kB / 1.41 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/1.153, allocations: 38.56 kB / 1.41 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/1.153, allocations: 0 / 1.41 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.001941/1.155, allocations: 0.896 MB / 1.411 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/1.155, allocations: 85.14 kB / 1.411 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/1.155, allocations: 198.6 kB / 1.412 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/1.155, allocations: 25.7 kB / 1.412 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.891e-05/1.155, allocations: 173.5 kB / 1.412 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.915e-05/1.156, allocations: 110.8 kB / 1.412 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.841e-05/1.156, allocations: 3.938 kB / 1.412 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.764e-05/1.156, allocations: 336.9 kB / 1.412 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/1.156, allocations: 165.2 kB / 1.412 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/1.156, allocations: 266 kB / 1.413 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000388/1.157, allocations: 229.9 kB / 1.413 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.157, allocations: 0 / 1.413 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009973/1.158, allocations: 0.5923 MB / 1.413 GB, free: 380 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003776/1.158, allocations: 1.22 MB / 1.415 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/1.158, allocations: 11.94 kB / 1.415 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003904/1.158, allocations: 133 kB / 1.415 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004081/1.159, allocations: 102.7 kB / 1.415 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/1.161, allocations: 3.81 MB / 1.419 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/1.162, allocations: 32.22 kB / 1.419 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.658e-05/1.162, allocations: 23.36 kB / 1.419 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.502e-06/1.162, allocations: 4 kB / 1.419 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009441/1.163, allocations: 0.5305 MB / 1.419 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/1.163, allocations: 4 kB / 1.419 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002711/1.163, allocations: 132.1 kB / 1.419 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/1.163, allocations: 95.38 kB / 1.419 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006582/1.164, allocations: 1.132 MB / 1.42 GB, free: 9.117 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002876/1.164, allocations: 32.16 kB / 1.42 GB, free: 9.086 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/1.164, allocations: 15.25 kB / 1.42 GB, free: 9.074 MB / 0.8542 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.conversion.P_n[1]:DUMMY_DER(fixed = false ) "Power transmitted at pin n (primary)" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001536/1.164, allocations: 121.7 kB / 1.421 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.941e-05/1.165, allocations: 31.62 kB / 1.421 GB, free: 8.922 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009321/1.165, allocations: 0.5385 MB / 1.421 GB, free: 8.512 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/1.165, allocations: 7.906 kB / 1.421 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.166, allocations: 4 kB / 1.421 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/1.166, allocations: 0 / 1.421 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/1.167, allocations: 1.225 MB / 1.422 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/1.167, allocations: 0 / 1.422 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/1.168, allocations: 71.45 kB / 1.422 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003709/1.168, allocations: 150.6 kB / 1.423 GB, free: 7.207 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/1.168, allocations: 4 kB / 1.423 GB, free: 7.203 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002204/1.17, allocations: 3.843 MB / 1.426 GB, free: 3.266 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/1.17, allocations: 15.91 kB / 1.426 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008993/1.171, allocations: 0.8279 MB / 1.427 GB, free: 2.445 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009722/1.172, allocations: 1.201 MB / 1.428 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/1.172, allocations: 142.5 kB / 1.428 GB, free: 1.125 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.424e-05/1.172, allocations: 4 kB / 1.428 GB, free: 1.121 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003066/1.173, allocations: 31.97 kB / 1.428 GB, free: 1.09 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/1.173, allocations: 22.84 kB / 1.428 GB, free: 1.07 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-05/1.173, allocations: 11.25 kB / 1.428 GB, free: 1.062 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001119/1.173, allocations: 153.1 kB / 1.429 GB, free: 0.9336 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001729/1.174, allocations: 162.1 kB / 1.429 GB, free: 0.7812 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001984/1.175, allocations: 158.6 kB / 1.429 GB, free: 0.6211 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001248/1.176, allocations: 1.038 MB / 1.43 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/1.176, allocations: 0 / 1.43 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004796/1.176, allocations: 417.5 kB / 1.43 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/1.177, allocations: 52.45 kB / 1.43 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009205/1.178, allocations: 0.5714 MB / 1.431 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003888/1.178, allocations: 0.8361 MB / 1.432 GB, free: 13.92 MB / 0.8698 GB Notification: Performance of SimCode: time 2.91e-07/1.178, allocations: 4 kB / 1.432 GB, free: 13.92 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat does not exist to compare? outputFormat=mat