Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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) 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: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.0009869/0.0009869, allocations: 183.3 kB / 8.136 MB, free: 2.207 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.156/1.156, allocations: 221.4 MB / 230 MB, free: 3.223 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.000976/0.000976, allocations: 99.67 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.502e-06/6.532e-06, allocations: 0 / 336.5 MB, free: 9.488 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2089, allocations: 50.38 MB / 386.9 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09535/0.3042, allocations: 88.38 MB / 475.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001877/0.3045, allocations: 79.95 kB / 475.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.272/0.5765, allocations: 55.61 MB / 0.5185 GB, free: 87.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001599/0.5767, allocations: 46.53 kB / 0.5186 GB, free: 87.01 MB / 378.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.005161/0.5819, allocations: 1.866 MB / 0.5204 GB, free: 86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.5819, allocations: 9 kB / 0.5204 GB, free: 86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.5833, allocations: 259.5 kB / 0.5207 GB, free: 85.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002988/0.5863, allocations: 1.33 MB / 0.522 GB, free: 85.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.678e-05/0.5864, allocations: 55.06 kB / 0.522 GB, free: 85.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004225/0.5868, allocations: 100.7 kB / 0.5221 GB, free: 85.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003331/0.5901, allocations: 1.799 MB / 0.5239 GB, free: 83.65 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003904/0.5941, allocations: 2.211 MB / 0.526 GB, free: 81.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.68e-05/0.5941, allocations: 0 / 0.526 GB, free: 81.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001968/0.5943, allocations: 7.703 kB / 0.526 GB, free: 81.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.874e-05/0.5944, allocations: 103.6 kB / 0.5261 GB, free: 81.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01068/0.6051, allocations: 7.141 MB / 0.5331 GB, free: 74.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.6062, allocations: 0.8782 MB / 0.534 GB, free: 73.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007308/0.6069, allocations: 0.5369 MB / 0.5345 GB, free: 72.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000252/0.6072, allocations: 125.5 kB / 0.5346 GB, free: 72.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.6072, allocations: 39 kB / 0.5346 GB, free: 72.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 2.094e-06/0.6072, allocations: 8 kB / 0.5346 GB, free: 72.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.003062/0.6103, allocations: 1.747 MB / 0.5364 GB, free: 70.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.6104, allocations: 89.55 kB / 0.5364 GB, free: 70.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/0.6119, allocations: 1.119 MB / 0.5375 GB, free: 69.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.919e-05/0.6119, allocations: 25.7 kB / 0.5376 GB, free: 69.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/0.6122, allocations: 0.8535 MB / 0.5384 GB, free: 68.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.6124, allocations: 185.5 kB / 0.5386 GB, free: 68.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.6124, allocations: 0 / 0.5386 GB, free: 68.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.251e-05/0.6125, allocations: 357.9 kB / 0.5389 GB, free: 68.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005347/0.613, allocations: 418.4 kB / 0.5393 GB, free: 67.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007185/0.6138, allocations: 1.042 MB / 0.5403 GB, free: 66.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007768/0.6145, allocations: 0.6407 MB / 0.5409 GB, free: 65.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.6146, allocations: 8 kB / 0.541 GB, free: 65.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=153) (initialization): time 0.00223/0.6168, allocations: 1.468 MB / 0.5424 GB, free: 64.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.6168, allocations: 4 kB / 0.5424 GB, free: 64.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.93e-05/0.6169, allocations: 20.59 kB / 0.5424 GB, free: 64.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004096/0.6173, allocations: 144.8 kB / 0.5426 GB, free: 64.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008824/0.6182, allocations: 291.5 kB / 0.5428 GB, free: 63.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/0.6198, allocations: 2.023 MB / 0.5448 GB, free: 61.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.6209, allocations: 71.58 kB / 0.5449 GB, free: 61.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.621, allocations: 68 kB / 0.5449 GB, free: 61.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 144 * 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 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001636/0.6212, allocations: 156.4 kB / 0.5451 GB, free: 61.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/0.6214, allocations: 118.6 kB / 0.5452 GB, free: 61.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.6227, allocations: 0.7673 MB / 0.546 GB, free: 60.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.6227, allocations: 7.938 kB / 0.546 GB, free: 60.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.6227, allocations: 0 / 0.546 GB, free: 60.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.6227, allocations: 3.984 kB / 0.546 GB, free: 60.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003412/0.6261, allocations: 2.195 MB / 0.5481 GB, free: 58.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.6261, allocations: 352 / 0.5481 GB, free: 58.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003914/0.6265, allocations: 103.9 kB / 0.5482 GB, free: 58.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003164/0.6269, allocations: 116.7 kB / 0.5483 GB, free: 57.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.345e-05/0.6269, allocations: 4 kB / 0.5483 GB, free: 57.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0016/0.6285, allocations: 1.973 MB / 0.5502 GB, free: 55.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.6285, allocations: 4 kB / 0.5503 GB, free: 55.82 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001669/0.6302, allocations: 1.395 MB / 0.5516 GB, free: 54.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000699/0.6309, allocations: 259.7 kB / 0.5519 GB, free: 54.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003623/0.6313, allocations: 15.81 kB / 0.5519 GB, free: 54.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008461/0.6322, allocations: 48.16 kB / 0.5519 GB, free: 53.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.692e-05/0.6323, allocations: 31.95 kB / 0.552 GB, free: 53.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-05/0.6323, allocations: 27.92 kB / 0.552 GB, free: 53.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.001377/0.6337, allocations: 0.8327 MB / 0.5528 GB, free: 53.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001726/0.6355, allocations: 319.9 kB / 0.5531 GB, free: 52.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * 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 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003425/0.6358, allocations: 179.3 kB / 0.5533 GB, free: 52.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001631/0.6374, allocations: 1.047 MB / 0.5543 GB, free: 51.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.6375, allocations: 0 / 0.5543 GB, free: 51.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000607/0.6381, allocations: 478.9 kB / 0.5547 GB, free: 51.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.6393, allocations: 229.8 kB / 0.555 GB, free: 50.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005/0.6443, allocations: 2.514 MB / 0.5574 GB, free: 48.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001609/0.6459, allocations: 1.817 MB / 0.5592 GB, free: 46.42 MB / 378.7 MB Notification: Performance of SimCode: time 4.7e-07/0.6459, allocations: 0 / 0.5592 GB, free: 46.42 MB / 378.7 MB Notification: Performance of Templates: time 0.02363/0.6696, allocations: 13.25 MB / 0.5721 GB, free: 33.46 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches