Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.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.ACDCConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.799/1.799, 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.0009395/0.0009395, allocations: 189.2 kB / 490.8 MB, free: 1.949 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.123/1.123, allocations: 221.3 MB / 0.7863 GB, free: 13.65 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.000827/0.000827, allocations: 97.05 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4086/0.4094, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.583, allocations: 143 MB / 1.212 GB, free: 39.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5167/1.1, allocations: 184 MB / 1.391 GB, free: 14.63 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/1.1, allocations: 95.47 kB / 1.391 GB, free: 14.61 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.0473/1.147, allocations: 23.05 MB / 1.414 GB, free: 13.9 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/1.147, allocations: 8 kB / 1.414 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009708/1.148, allocations: 119.5 kB / 1.414 GB, free: 13.78 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/1.149, allocations: 271 kB / 1.414 GB, free: 13.49 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/1.149, allocations: 12 kB / 1.414 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.557e-05/1.149, allocations: 12 kB / 1.414 GB, free: 13.47 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000387/1.149, allocations: 269.7 kB / 1.415 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004682/1.15, allocations: 367.1 kB / 1.415 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/1.15, allocations: 4 kB / 1.415 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/1.15, allocations: 0 / 1.415 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-05/1.15, allocations: 34.83 kB / 1.415 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/1.152, allocations: 2.006 MB / 1.417 GB, free: 10.97 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003572/1.152, allocations: 295.7 kB / 1.417 GB, free: 10.74 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002756/1.153, allocations: 170.3 kB / 1.417 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.982e-05/1.153, allocations: 93.28 kB / 1.417 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/1.153, allocations: 38.12 kB / 1.418 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/1.153, allocations: 0 / 1.418 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.002057/1.155, allocations: 0.8972 MB / 1.418 GB, free: 9.73 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/1.155, allocations: 81.11 kB / 1.418 GB, free: 9.633 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/1.155, allocations: 199.4 kB / 1.419 GB, free: 9.465 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/1.155, allocations: 25.7 kB / 1.419 GB, free: 9.434 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.513e-05/1.155, allocations: 178.4 kB / 1.419 GB, free: 9.266 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.864e-05/1.155, allocations: 108.9 kB / 1.419 GB, free: 9.168 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.832e-05/1.155, allocations: 0 / 1.419 GB, free: 9.168 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.677e-05/1.155, allocations: 337.4 kB / 1.419 GB, free: 8.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/1.156, allocations: 163.1 kB / 1.419 GB, free: 8.738 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/1.156, allocations: 271.6 kB / 1.42 GB, free: 8.488 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/1.156, allocations: 230.6 kB / 1.42 GB, free: 8.332 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.156, allocations: 0 / 1.42 GB, free: 8.332 MB / 0.8386 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001033/1.157, allocations: 0.5923 MB / 1.42 GB, free: 7.855 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003311/1.158, allocations: 1.218 MB / 1.422 GB, free: 6.562 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/1.158, allocations: 4 kB / 1.422 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003801/1.158, allocations: 138.3 kB / 1.422 GB, free: 6.438 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/1.158, allocations: 98.62 kB / 1.422 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002385/1.161, allocations: 3.813 MB / 1.426 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003298/1.161, allocations: 32.06 kB / 1.426 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/1.161, allocations: 19.31 kB / 1.426 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.831e-06/1.161, allocations: 4 kB / 1.426 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001016/1.162, allocations: 0.5255 MB / 1.426 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/1.162, allocations: 4 kB / 1.426 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002732/1.163, allocations: 133.3 kB / 1.426 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/1.163, allocations: 99.28 kB / 1.426 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005841/1.164, allocations: 1.136 MB / 1.428 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002933/1.164, allocations: 35.97 kB / 1.428 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/1.164, allocations: 12 kB / 1.428 GB, free: 0.5625 MB / 0.8386 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.0001335/1.164, allocations: 112.7 kB / 1.428 GB, free: 460 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.311e-05/1.164, allocations: 27.72 kB / 1.428 GB, free: 432 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009572/1.165, allocations: 0.5602 MB / 1.428 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/1.165, allocations: 4 kB / 1.428 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.165, allocations: 7.984 kB / 1.428 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/1.165, allocations: 3.906 kB / 1.428 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/1.167, allocations: 1.211 MB / 1.429 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.167, allocations: 3.938 kB / 1.429 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/1.167, allocations: 71.7 kB / 1.43 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003582/1.168, allocations: 144.9 kB / 1.43 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/1.168, allocations: 4 kB / 1.43 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002376/1.17, allocations: 3.852 MB / 1.433 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/1.17, allocations: 11.95 kB / 1.433 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009821/1.171, allocations: 0.8212 MB / 1.434 GB, free: 9.938 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001018/1.172, allocations: 1.206 MB / 1.435 GB, free: 8.762 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/1.172, allocations: 146.4 kB / 1.436 GB, free: 8.613 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.478e-05/1.172, allocations: 4 kB / 1.436 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000315/1.173, allocations: 27.97 kB / 1.436 GB, free: 8.582 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/1.173, allocations: 31.47 kB / 1.436 GB, free: 8.555 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/1.173, allocations: 8 kB / 1.436 GB, free: 8.547 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001118/1.173, allocations: 154.9 kB / 1.436 GB, free: 8.426 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001853/1.175, allocations: 162.8 kB / 1.436 GB, free: 8.273 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.0002023/1.175, allocations: 151 kB / 1.436 GB, free: 8.117 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001263/1.176, allocations: 1.033 MB / 1.437 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.176, allocations: 0.5 kB / 1.437 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005391/1.177, allocations: 429.4 kB / 1.438 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/1.177, allocations: 44.06 kB / 1.438 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009853/1.178, allocations: 0.569 MB / 1.438 GB, free: 6.266 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004076/1.179, allocations: 0.8401 MB / 1.439 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of SimCode: time 3.91e-07/1.179, allocations: 0 / 1.439 GB, free: 5.418 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat does not exist to compare? outputFormat=mat