Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer",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/Complex 4.0.0+maint.om/package.mo): time 0.0009876/0.0009876, allocations: 175 kB / 8.516 MB, free: 1.855 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.132/1.132, allocations: 221.4 MB / 230.3 MB, free: 7.641 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008999/0.0009, allocations: 86.23 kB / 281.2 MB, free: 5.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1693/0.1693, allocations: 44.14 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1918/0.3611, allocations: 68.02 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09638/0.4575, allocations: 61.92 MB / 0.4942 GB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2458/0.7033, allocations: 87.97 MB / 0.5801 GB, free: 8.777 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001654/0.7035, allocations: 67.31 kB / 0.5801 GB, free: 8.715 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.01061/0.7141, allocations: 4.254 MB / 0.5843 GB, free: 4.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.7142, allocations: 11.94 kB / 0.5843 GB, free: 4.398 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.147e-05/0.7142, allocations: 23.72 kB / 0.5843 GB, free: 4.375 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.7146, allocations: 252.3 kB / 0.5846 GB, free: 4.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.7146, allocations: 4 kB / 0.5846 GB, free: 4.086 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.7146, allocations: 15.94 kB / 0.5846 GB, free: 4.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002359/0.7149, allocations: 116.9 kB / 0.5847 GB, free: 3.953 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.7151, allocations: 150.5 kB / 0.5849 GB, free: 3.801 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.7152, allocations: 2.844 kB / 0.5849 GB, free: 3.801 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.7152, allocations: 0 / 0.5849 GB, free: 3.801 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.7152, allocations: 7.906 kB / 0.5849 GB, free: 3.793 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.7164, allocations: 0.767 MB / 0.5856 GB, free: 2.961 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.996e-05/0.7166, allocations: 49.72 kB / 0.5857 GB, free: 2.906 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.01e-05/0.7166, allocations: 40.77 kB / 0.5857 GB, free: 2.863 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.7167, allocations: 4.188 kB / 0.5857 GB, free: 2.859 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.7167, allocations: 34.5 kB / 0.5857 GB, free: 2.816 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.7167, allocations: 0 / 0.5857 GB, free: 2.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001349/0.7181, allocations: 0.6073 MB / 0.5863 GB, free: 2.152 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.7181, allocations: 55.31 kB / 0.5864 GB, free: 2.086 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.7183, allocations: 165.8 kB / 0.5865 GB, free: 1.914 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.7183, allocations: 29.7 kB / 0.5866 GB, free: 1.879 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.637e-05/0.7184, allocations: 159.9 kB / 0.5867 GB, free: 1.719 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.7184, allocations: 55.11 kB / 0.5868 GB, free: 1.664 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/0.7185, allocations: 0 / 0.5868 GB, free: 1.664 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.7186, allocations: 330.8 kB / 0.5871 GB, free: 1.332 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.401e-05/0.7187, allocations: 44 kB / 0.5871 GB, free: 1.289 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.7188, allocations: 89.08 kB / 0.5872 GB, free: 1.184 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.7189, allocations: 63.92 kB / 0.5873 GB, free: 1.121 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.7189, allocations: 0 / 0.5873 GB, free: 1.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004157/0.7193, allocations: 241.8 kB / 0.5875 GB, free: 0.875 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.7193, allocations: 8.031 kB / 0.5875 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.7194, allocations: 4 kB / 0.5875 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002195/0.7196, allocations: 65.62 kB / 0.5876 GB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.7198, allocations: 35.81 kB / 0.5876 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/0.7218, allocations: 2.661 MB / 0.5902 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.722, allocations: 16.03 kB / 0.5902 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.722, allocations: 11.98 kB / 0.5902 GB, free: 13.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.966e-05/0.7221, allocations: 111.5 kB / 0.5903 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.7222, allocations: 15.81 kB / 0.5904 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.541e-05/0.7222, allocations: 17.59 kB / 0.5904 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.7222, allocations: 4 kB / 0.5904 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.7222, allocations: 7.938 kB / 0.5904 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.7222, allocations: 7.891 kB / 0.5904 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.7225, allocations: 242.1 kB / 0.5906 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.7225, allocations: 0 / 0.5906 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.7226, allocations: 19.98 kB / 0.5906 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001845/0.7228, allocations: 61.67 kB / 0.5907 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.7228, allocations: 8 kB / 0.5907 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/0.7246, allocations: 2.653 MB / 0.5933 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.7246, allocations: 0 / 0.5933 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004398/0.7251, allocations: 344.9 kB / 0.5936 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000603/0.7257, allocations: 0.7771 MB / 0.5944 GB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-05/0.7258, allocations: 88.92 kB / 0.5945 GB, free: 9.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.7258, allocations: 0 / 0.5945 GB, free: 9.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.726, allocations: 20.05 kB / 0.5945 GB, free: 9.141 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.726, allocations: 7.984 kB / 0.5945 GB, free: 9.133 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.7261, allocations: 11.98 kB / 0.5945 GB, free: 9.121 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000103/0.7262, allocations: 143.9 kB / 0.5947 GB, free: 8.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008853/0.7271, allocations: 60 kB / 0.5947 GB, free: 8.922 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001183/0.7272, allocations: 99.19 kB / 0.5948 GB, free: 8.812 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004887/0.7277, allocations: 346.7 kB / 0.5951 GB, free: 8.457 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7277, allocations: 0 / 0.5951 GB, free: 8.457 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003399/0.728, allocations: 283.8 kB / 0.5954 GB, free: 8.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.7283, allocations: 20.17 kB / 0.5954 GB, free: 8.137 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007505/0.729, allocations: 338 kB / 0.5957 GB, free: 7.777 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003365/0.7294, allocations: 0.7767 MB / 0.5965 GB, free: 6.977 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.7294, allocations: 0 / 0.5965 GB, free: 6.977 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.mat does not exist to compare? outputFormat=mat