Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001196/0.001196, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008254/0.0008254, allocations: 96.03 kB / 286.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.799e-05/1.794e-05, allocations: 4 kB / 343.7 MB, free: 8.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1065, allocations: 51.48 MB / 395.2 MB, free: 4.781 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3836/0.4902, allocations: 89.56 MB / 484.7 MB, free: 3.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.4904, allocations: 80.45 kB / 484.8 MB, free: 3.641 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5057/0.9962, allocations: 141.6 MB / 0.6117 GB, free: 83.26 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.9962, allocations: 0 / 0.6117 GB, free: 83.26 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002443/0.9965, allocations: 89.19 kB / 0.6118 GB, free: 83.25 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01406/1.011, allocations: 3.714 MB / 0.6154 GB, free: 82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/1.011, allocations: 9.719 kB / 0.6154 GB, free: 82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00627/1.017, allocations: 0.95 MB / 0.6163 GB, free: 81.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005621/1.023, allocations: 2.429 MB / 0.6187 GB, free: 81.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003683/1.023, allocations: 126.3 kB / 0.6188 GB, free: 81.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001532/1.025, allocations: 225.9 kB / 0.619 GB, free: 81.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009454/1.034, allocations: 4.129 MB / 0.6231 GB, free: 81.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01291/1.047, allocations: 5.234 MB / 0.6282 GB, free: 79.98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001269/1.047, allocations: 6.906 kB / 0.6282 GB, free: 79.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004187/1.048, allocations: 3.812 kB / 0.6282 GB, free: 79.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003618/1.048, allocations: 279.8 kB / 0.6285 GB, free: 79.9 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02719/1.075, allocations: 18.07 MB / 0.6461 GB, free: 69.49 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004166/1.079, allocations: 4.006 MB / 0.65 GB, free: 66.35 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007395/1.08, allocations: 0.6828 MB / 0.6507 GB, free: 66.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/1.08, allocations: 191.4 kB / 0.6509 GB, free: 65.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/1.08, allocations: 43.38 kB / 0.6509 GB, free: 65.86 MB / 442.7 MB Notification: Performance of pre-optimization done (n=106): time 4.068e-06/1.08, allocations: 3.891 kB / 0.6509 GB, free: 65.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=106): time 0.003165/1.083, allocations: 1.537 MB / 0.6524 GB, free: 65.38 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/1.084, allocations: 63.38 kB / 0.6525 GB, free: 65.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/1.085, allocations: 1.137 MB / 0.6536 GB, free: 64.82 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.456e-05/1.085, allocations: 25.7 kB / 0.6536 GB, free: 64.79 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006875/1.086, allocations: 1.747 MB / 0.6553 GB, free: 63.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/1.086, allocations: 368.5 kB / 0.6557 GB, free: 63.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-05/1.086, allocations: 0 / 0.6557 GB, free: 63.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/1.086, allocations: 441 kB / 0.6561 GB, free: 62.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009055/1.087, allocations: 0.8363 MB / 0.6569 GB, free: 62.51 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/1.088, allocations: 1.806 MB / 0.6587 GB, free: 60.87 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003036/1.091, allocations: 1.699 MB / 0.6603 GB, free: 60.33 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.579e-05/1.091, allocations: 10.72 kB / 0.6603 GB, free: 60.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004817/1.096, allocations: 2.987 MB / 0.6633 GB, free: 59.35 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/1.096, allocations: 22.27 kB / 0.6633 GB, free: 59.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.909e-05/1.096, allocations: 33.25 kB / 0.6633 GB, free: 59.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.815e-05/1.096, allocations: 53.97 kB / 0.6634 GB, free: 59.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/1.098, allocations: 0.5313 MB / 0.6639 GB, free: 59.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-05/1.098, allocations: 68.67 kB / 0.664 GB, free: 59.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/1.099, allocations: 254.8 kB / 0.6642 GB, free: 59.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/1.099, allocations: 119.7 kB / 0.6643 GB, free: 59.12 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002225/1.1, allocations: 187.2 kB / 0.6645 GB, free: 58.94 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/1.1, allocations: 121.9 kB / 0.6646 GB, free: 58.88 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003272/1.103, allocations: 1.841 MB / 0.6664 GB, free: 58.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002496/1.105, allocations: 1.411 MB / 0.6678 GB, free: 57.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.106, allocations: 0 / 0.6678 GB, free: 57.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/1.106, allocations: 3.234 kB / 0.6678 GB, free: 57.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01476/1.12, allocations: 13.59 MB / 0.6811 GB, free: 50.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/1.12, allocations: 26.06 kB / 0.6811 GB, free: 50.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008015/1.121, allocations: 231.8 kB / 0.6813 GB, free: 50.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.54e-05/1.121, allocations: 31.56 kB / 0.6813 GB, free: 50.53 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.006e-05/1.121, allocations: 32.81 kB / 0.6814 GB, free: 50.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.119e-05/1.121, allocations: 38.8 kB / 0.6814 GB, free: 50.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.514e-05/1.121, allocations: 30.75 kB / 0.6814 GB, free: 50.51 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004255/1.126, allocations: 4.254 MB / 0.6856 GB, free: 47.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003944/1.126, allocations: 246.8 kB / 0.6858 GB, free: 46.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/1.126, allocations: 30.33 kB / 0.6858 GB, free: 46.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007525/1.127, allocations: 59 kB / 0.6859 GB, free: 46.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/1.127, allocations: 144.9 kB / 0.686 GB, free: 46.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.796e-05/1.127, allocations: 56.91 kB / 0.6861 GB, free: 46.83 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009573/1.128, allocations: 0.8358 MB / 0.6869 GB, free: 46.46 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.128, allocations: 0 / 0.6869 GB, free: 46.46 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002419/1.131, allocations: 0.8289 MB / 0.6877 GB, free: 46.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 93 * Number of states: 1 (currentSensor31.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003312/1.131, allocations: 218.6 kB / 0.6879 GB, free: 46.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002367/1.133, allocations: 1.851 MB / 0.6897 GB, free: 45.38 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/1.133, allocations: 4 kB / 0.6897 GB, free: 45.37 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006823/1.134, allocations: 0.6392 MB / 0.6904 GB, free: 44.84 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/1.135, allocations: 307.9 kB / 0.6907 GB, free: 44.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009843/1.145, allocations: 5.281 MB / 0.6958 GB, free: 39.61 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00228/1.148, allocations: 2.865 MB / 0.6986 GB, free: 37.32 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001863/1.15, allocations: 0.778 MB / 0.6994 GB, free: 36.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/1.15, allocations: 111 kB / 0.6995 GB, free: 36.71 MB / 442.7 MB Notification: Performance of SimCode: time 9.82e-07/1.15, allocations: 0 / 0.6995 GB, free: 36.71 MB / 442.7 MB Notification: Performance of Templates: time 0.02531/1.175, allocations: 15.31 MB / 0.7144 GB, free: 23.19 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches