Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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) 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: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [: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.001734/0.001734, allocations: 178.9 kB / 8.151 MB, free: 2.184 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.603/1.603, allocations: 205.2 MB / 213.8 MB, free: 13.94 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.001361/0.001361, allocations: 87.48 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.079e-05/1.091e-05, allocations: 0 / 314.3 MB, free: 9.039 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2354, allocations: 47.56 MB / 361.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1438/0.3792, allocations: 87.68 MB / 449.5 MB, free: 14.37 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/0.3796, allocations: 86.02 kB / 449.6 MB, free: 14.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.2322/0.6118, allocations: 55.44 MB / 0.4932 GB, free: 6.547 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002347/0.6121, allocations: 59.86 kB / 0.4933 GB, free: 6.488 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.007269/0.6194, allocations: 1.832 MB / 0.4951 GB, free: 4.605 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.6195, allocations: 8.031 kB / 0.4951 GB, free: 4.598 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/0.6212, allocations: 261.3 kB / 0.4953 GB, free: 4.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004676/0.6259, allocations: 1.31 MB / 0.4966 GB, free: 2.988 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.6261, allocations: 56 kB / 0.4966 GB, free: 2.934 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007261/0.6269, allocations: 103.9 kB / 0.4967 GB, free: 2.832 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006342/0.6332, allocations: 1.831 MB / 0.4985 GB, free: 1 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1847/0.8179, allocations: 2.207 MB / 0.5007 GB, free: 72.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.489e-05/0.8181, allocations: 10.92 kB / 0.5007 GB, free: 72.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002533/0.8183, allocations: 0 / 0.5007 GB, free: 72.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000116/0.8185, allocations: 102.9 kB / 0.5008 GB, free: 72.81 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01774/0.8362, allocations: 6.594 MB / 0.5072 GB, free: 71.78 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002556/0.8388, allocations: 1.077 MB / 0.5083 GB, free: 71.74 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002463/0.8413, allocations: 0.9914 MB / 0.5093 GB, free: 71.72 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004468/0.8418, allocations: 127.2 kB / 0.5094 GB, free: 71.62 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.8419, allocations: 41.62 kB / 0.5094 GB, free: 71.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=82): time 4.499e-06/0.8419, allocations: 3.75 kB / 0.5094 GB, free: 71.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=88): time 0.00794/0.8499, allocations: 2.621 MB / 0.512 GB, free: 71.03 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.85, allocations: 84.61 kB / 0.5121 GB, free: 70.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.8519, allocations: 0.8744 MB / 0.5129 GB, free: 70.81 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001979/0.8522, allocations: 25.7 kB / 0.5129 GB, free: 70.78 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/0.8525, allocations: 0.6759 MB / 0.5136 GB, free: 70.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003126/0.8529, allocations: 291.8 kB / 0.5139 GB, free: 70.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.34e-05/0.8529, allocations: 0 / 0.5139 GB, free: 70.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.8531, allocations: 352.2 kB / 0.5142 GB, free: 69.94 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.8541, allocations: 467.5 kB / 0.5147 GB, free: 69.94 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.8553, allocations: 0.6163 MB / 0.5153 GB, free: 69.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.8566, allocations: 0.5735 MB / 0.5158 GB, free: 69.76 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.8567, allocations: 0 / 0.5158 GB, free: 69.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.003097/0.8598, allocations: 1.239 MB / 0.517 GB, free: 69.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.8598, allocations: 10.94 kB / 0.517 GB, free: 69.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.8599, allocations: 3.812 kB / 0.517 GB, free: 69.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004557/0.8603, allocations: 106.3 kB / 0.5171 GB, free: 69.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00226/0.8626, allocations: 252.2 kB / 0.5174 GB, free: 69.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002847/0.8655, allocations: 1.997 MB / 0.5193 GB, free: 68.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008655/0.8664, allocations: 20.88 kB / 0.5194 GB, free: 68.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.8666, allocations: 30.72 kB / 0.5194 GB, free: 68.4 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002527/0.8668, allocations: 53.67 kB / 0.5194 GB, free: 68.37 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004336/0.8673, allocations: 105.6 kB / 0.5195 GB, free: 68.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002956/0.8702, allocations: 1.159 MB / 0.5207 GB, free: 68.24 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.8703, allocations: 10.97 kB / 0.5207 GB, free: 68.24 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.8703, allocations: 5.625 kB / 0.5207 GB, free: 68.24 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.8704, allocations: 2.766 kB / 0.5207 GB, free: 68.24 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007345/0.8777, allocations: 2.862 MB / 0.5235 GB, free: 67.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.8778, allocations: 6.703 kB / 0.5235 GB, free: 67.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/0.8795, allocations: 186.4 kB / 0.5237 GB, free: 67.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005461/0.88, allocations: 109.1 kB / 0.5238 GB, free: 67.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.653e-05/0.8801, allocations: 14.42 kB / 0.5238 GB, free: 67.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003302/0.8835, allocations: 3.212 MB / 0.5269 GB, free: 65.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.8835, allocations: 0 / 0.5269 GB, free: 65.35 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004053/0.8876, allocations: 1.863 MB / 0.5287 GB, free: 65.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009301/0.8886, allocations: 294.1 kB / 0.529 GB, free: 64.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002531/0.8888, allocations: 0 / 0.529 GB, free: 64.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.89, allocations: 54.47 kB / 0.5291 GB, free: 64.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/0.8903, allocations: 45.2 kB / 0.5291 GB, free: 64.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.974e-05/0.8904, allocations: 24.3 kB / 0.5291 GB, free: 64.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001363/0.8917, allocations: 0.6721 MB / 0.5298 GB, free: 64.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001696/0.8935, allocations: 324.8 kB / 0.5301 GB, free: 64.89 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (load.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005071/0.894, allocations: 174.6 kB / 0.5303 GB, free: 64.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00263/0.8966, allocations: 1.186 MB / 0.5314 GB, free: 64.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.8967, allocations: 0 / 0.5314 GB, free: 64.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001617/0.8983, allocations: 0.657 MB / 0.5321 GB, free: 64.58 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/0.9005, allocations: 210.1 kB / 0.5323 GB, free: 64.58 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008472/0.909, allocations: 2.631 MB / 0.5348 GB, free: 64.01 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00274/0.9118, allocations: 1.806 MB / 0.5366 GB, free: 63.29 MB / 394.7 MB Notification: Performance of SimCode: time 1.773e-06/0.9119, allocations: 0 / 0.5366 GB, free: 63.29 MB / 394.7 MB Notification: Performance of Templates: time 0.05869/0.9706, allocations: 33.32 MB / 0.5691 GB, free: 48.4 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches