Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",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 3.2.3+maint.om/package.mo): time 0.001522/0.001521, allocations: 193.4 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001006/0.001007, allocations: 90 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2394/0.2394, allocations: 43.5 MB / 352.9 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2601/0.4996, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.9209, allocations: 58.83 MB / 476.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1618/1.083, allocations: 96.07 MB / 0.5593 GB, free: 2.844 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/1.083, allocations: 83.45 kB / 0.5594 GB, free: 2.766 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.08811/1.171, allocations: 33.58 MB / 0.5922 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/1.171, allocations: 8 kB / 0.5922 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007768/1.179, allocations: 1.087 MB / 0.5932 GB, free: 15.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/1.181, allocations: 0.5461 MB / 0.5938 GB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.347e-05/1.181, allocations: 44 kB / 0.5938 GB, free: 15.03 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004001/1.181, allocations: 83.84 kB / 0.5939 GB, free: 14.95 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003068/1.184, allocations: 1.309 MB / 0.5952 GB, free: 13.63 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002284/1.187, allocations: 0.8795 MB / 0.596 GB, free: 12.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.619e-05/1.187, allocations: 7.984 kB / 0.596 GB, free: 12.72 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/1.187, allocations: 0 / 0.596 GB, free: 12.72 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.325e-05/1.187, allocations: 32 kB / 0.5961 GB, free: 12.69 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009152/1.196, allocations: 4.786 MB / 0.6007 GB, free: 7.578 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/1.197, allocations: 0.7085 MB / 0.6014 GB, free: 6.867 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005151/1.198, allocations: 315 kB / 0.6017 GB, free: 6.559 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/1.198, allocations: 101.9 kB / 0.6018 GB, free: 6.441 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/1.198, allocations: 43.34 kB / 0.6019 GB, free: 6.387 MB / 442.7 MB Notification: Performance of pre-optimization done (n=91): time 3.707e-06/1.198, allocations: 4 kB / 0.6019 GB, free: 6.383 MB / 442.7 MB Notification: Performance of matching and sorting (n=91): time 0.00175/1.2, allocations: 0.6714 MB / 0.6025 GB, free: 5.695 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/1.2, allocations: 60.19 kB / 0.6026 GB, free: 5.625 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005832/1.201, allocations: 424.9 kB / 0.603 GB, free: 5.207 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.835e-05/1.201, allocations: 29.7 kB / 0.603 GB, free: 5.172 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000367/1.201, allocations: 474 kB / 0.6035 GB, free: 4.699 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/1.201, allocations: 303.5 kB / 0.6038 GB, free: 4.398 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/1.201, allocations: 0 / 0.6038 GB, free: 4.398 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/1.201, allocations: 374.7 kB / 0.6041 GB, free: 4.023 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005286/1.202, allocations: 294.6 kB / 0.6044 GB, free: 3.734 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006998/1.203, allocations: 0.5452 MB / 0.6049 GB, free: 3.074 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/1.204, allocations: 430.7 kB / 0.6053 GB, free: 2.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/1.204, allocations: 4 kB / 0.6053 GB, free: 2.656 MB / 442.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002371/1.206, allocations: 1.036 MB / 0.6064 GB, free: 1.605 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/1.206, allocations: 8 kB / 0.6064 GB, free: 1.598 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/1.206, allocations: 8 kB / 0.6064 GB, free: 1.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003111/1.207, allocations: 69.55 kB / 0.6064 GB, free: 1.516 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/1.208, allocations: 271.8 kB / 0.6067 GB, free: 1.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002533/1.21, allocations: 2.516 MB / 0.6092 GB, free: 14.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/1.212, allocations: 98.75 kB / 0.6093 GB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/1.212, allocations: 51.98 kB / 0.6093 GB, free: 14.36 MB / 458.7 MB 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 (141): * Single equations (assignments): 139 * 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%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003451/1.212, allocations: 132.7 kB / 0.6094 GB, free: 14.22 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002468/1.212, allocations: 63.25 kB / 0.6095 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002304/1.215, allocations: 1.015 MB / 0.6105 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/1.215, allocations: 8 kB / 0.6105 GB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.215, allocations: 0 / 0.6105 GB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/1.215, allocations: 15.97 kB / 0.6105 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00465/1.219, allocations: 2.953 MB / 0.6134 GB, free: 9.805 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/1.219, allocations: 8 kB / 0.6134 GB, free: 9.797 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008765/1.22, allocations: 200.5 kB / 0.6136 GB, free: 9.602 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002437/1.221, allocations: 61.67 kB / 0.6136 GB, free: 9.535 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.857e-05/1.221, allocations: 12 kB / 0.6137 GB, free: 9.523 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/1.223, allocations: 2.519 MB / 0.6161 GB, free: 6.777 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.439e-05/1.223, allocations: 15.84 kB / 0.6161 GB, free: 6.762 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002746/1.226, allocations: 1.727 MB / 0.6178 GB, free: 4.738 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003414/1.229, allocations: 2.469 MB / 0.6202 GB, free: 1.965 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/1.229, allocations: 184.2 kB / 0.6204 GB, free: 1.766 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/1.23, allocations: 8 kB / 0.6204 GB, free: 1.758 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007577/1.23, allocations: 55.88 kB / 0.6205 GB, free: 1.703 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/1.23, allocations: 68.42 kB / 0.6205 GB, free: 1.633 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-05/1.23, allocations: 39.98 kB / 0.6206 GB, free: 1.594 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.000433/1.231, allocations: 323.2 kB / 0.6209 GB, free: 1.277 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001754/1.233, allocations: 294.9 kB / 0.6212 GB, free: 0.9883 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 1 (variableAdmittance.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 92 * 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%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003074/1.233, allocations: 159 kB / 0.6213 GB, free: 0.8203 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001763/1.235, allocations: 0.9692 MB / 0.6223 GB, free: 15.84 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.235, allocations: 2.062 kB / 0.6223 GB, free: 15.84 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009327/1.236, allocations: 0.5737 MB / 0.6228 GB, free: 15.25 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005142/1.236, allocations: 57.89 kB / 0.6229 GB, free: 15.19 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005244/1.242, allocations: 1.848 MB / 0.6247 GB, free: 13.22 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/1.243, allocations: 1.1 MB / 0.6258 GB, free: 12.09 MB / 474.7 MB Notification: Performance of SimCode: time 2.71e-07/1.243, allocations: 0 / 0.6258 GB, free: 12.09 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat