Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.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.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_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.829/1.829, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.0009972/0.0009973, allocations: 172.8 kB / 487 MB, free: 5.395 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.154/1.154, allocations: 221.3 MB / 0.7819 GB, free: 1.426 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.0008181/0.000818, allocations: 83.52 kB / 0.9213 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.441/0.4418, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.6425, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5735/1.216, allocations: 181.7 MB / 1.383 GB, free: 11.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/1.216, allocations: 93.06 kB / 1.383 GB, free: 11.55 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.05226/1.269, allocations: 22.75 MB / 1.405 GB, free: 8.457 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/1.269, allocations: 8 kB / 1.405 GB, free: 8.449 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009914/1.27, allocations: 131.2 kB / 1.405 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/1.27, allocations: 275.3 kB / 1.405 GB, free: 8.035 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/1.27, allocations: 8 kB / 1.405 GB, free: 8.027 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.832e-05/1.27, allocations: 12 kB / 1.405 GB, free: 8.016 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003876/1.271, allocations: 268.3 kB / 1.406 GB, free: 7.836 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004555/1.271, allocations: 366.8 kB / 1.406 GB, free: 7.531 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/1.271, allocations: 3.938 kB / 1.406 GB, free: 7.527 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.023e-05/1.271, allocations: 3.906 kB / 1.406 GB, free: 7.523 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.199e-05/1.271, allocations: 32.45 kB / 1.406 GB, free: 7.492 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002256/1.273, allocations: 2.006 MB / 1.408 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/1.274, allocations: 283.9 kB / 1.408 GB, free: 5.305 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/1.274, allocations: 175.4 kB / 1.409 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/1.274, allocations: 85.3 kB / 1.409 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/1.274, allocations: 42.61 kB / 1.409 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/1.274, allocations: 0 / 1.409 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.002064/1.276, allocations: 0.9017 MB / 1.41 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/1.276, allocations: 81.11 kB / 1.41 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/1.276, allocations: 195.2 kB / 1.41 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/1.277, allocations: 25.7 kB / 1.41 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.803e-05/1.277, allocations: 170 kB / 1.41 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.618e-05/1.277, allocations: 116.2 kB / 1.41 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.935e-05/1.277, allocations: 0 / 1.41 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001139/1.277, allocations: 337.2 kB / 1.41 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/1.277, allocations: 161.4 kB / 1.411 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/1.277, allocations: 266.2 kB / 1.411 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004252/1.278, allocations: 234 kB / 1.411 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.278, allocations: 0 / 1.411 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001056/1.279, allocations: 0.5987 MB / 1.412 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004815/1.279, allocations: 1.219 MB / 1.413 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/1.279, allocations: 4 kB / 1.413 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004004/1.28, allocations: 134.7 kB / 1.413 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000441/1.28, allocations: 107 kB / 1.413 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/1.283, allocations: 3.815 MB / 1.417 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003237/1.283, allocations: 28.05 kB / 1.417 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.428e-05/1.283, allocations: 21.8 kB / 1.417 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.019e-06/1.283, allocations: 4 kB / 1.417 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009358/1.284, allocations: 0.5259 MB / 1.417 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/1.284, allocations: 0 / 1.417 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002718/1.284, allocations: 137.1 kB / 1.417 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003941/1.285, allocations: 103 kB / 1.418 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005841/1.285, allocations: 1.127 MB / 1.419 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/1.286, allocations: 32.16 kB / 1.419 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/1.286, allocations: 15.31 kB / 1.419 GB, free: 11.12 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.0001396/1.286, allocations: 119.1 kB / 1.419 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.598e-05/1.286, allocations: 28.12 kB / 1.419 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000986/1.287, allocations: 0.5467 MB / 1.419 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/1.287, allocations: 7.906 kB / 1.419 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/1.287, allocations: 3.938 kB / 1.419 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/1.287, allocations: 4 kB / 1.419 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/1.289, allocations: 1.216 MB / 1.421 GB, free: 9.461 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/1.289, allocations: 4 kB / 1.421 GB, free: 9.457 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/1.289, allocations: 75.7 kB / 1.421 GB, free: 9.387 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003616/1.29, allocations: 150.5 kB / 1.421 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/1.29, allocations: 4 kB / 1.421 GB, free: 9.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002397/1.292, allocations: 3.837 MB / 1.425 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/1.292, allocations: 4 kB / 1.425 GB, free: 5.312 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009219/1.293, allocations: 0.8302 MB / 1.425 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001012/1.294, allocations: 1.206 MB / 1.427 GB, free: 3.324 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/1.294, allocations: 145.8 kB / 1.427 GB, free: 3.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/1.294, allocations: 0 / 1.427 GB, free: 3.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003254/1.295, allocations: 31.97 kB / 1.427 GB, free: 3.148 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/1.295, allocations: 23.66 kB / 1.427 GB, free: 3.129 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/1.295, allocations: 12 kB / 1.427 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001135/1.295, allocations: 155.9 kB / 1.427 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001858/1.297, allocations: 167.1 kB / 1.427 GB, free: 2.828 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.0002034/1.297, allocations: 151.4 kB / 1.427 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001278/1.298, allocations: 1.038 MB / 1.428 GB, free: 1.77 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.298, allocations: 0 / 1.428 GB, free: 1.77 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005243/1.299, allocations: 427 kB / 1.429 GB, free: 1.391 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/1.299, allocations: 47.69 kB / 1.429 GB, free: 1.355 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009801/1.3, allocations: 0.5626 MB / 1.429 GB, free: 0.8242 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004315/1.3, allocations: 0.8487 MB / 1.43 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of SimCode: time 3.01e-07/1.3, allocations: 0 / 1.43 GB, free: 15.97 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat does not exist to compare? outputFormat=mat