Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 221.4 MB / 235.5 MB, free: 2.945 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.0009505/0.0009507, allocations: 87.05 kB / 286.5 MB, free: 240 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.409e-05/2.411e-05, allocations: 4 kB / 343.8 MB, free: 4.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09628/0.09632, allocations: 50.41 MB / 394.2 MB, free: 1.863 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.332/0.4283, allocations: 89.43 MB / 483.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.4287, allocations: 87.77 kB / 483.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4866/0.9153, allocations: 152.5 MB / 0.6214 GB, free: 83.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.9154, allocations: 0 / 0.6214 GB, free: 83.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.00019/0.9156, allocations: 99.88 kB / 0.6215 GB, free: 83.73 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01265/0.9282, allocations: 4.067 MB / 0.6254 GB, free: 79.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.9283, allocations: 8.031 kB / 0.6254 GB, free: 79.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006004/0.9343, allocations: 0.9693 MB / 0.6264 GB, free: 78.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005558/0.9399, allocations: 2.722 MB / 0.6291 GB, free: 75.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002921/0.9403, allocations: 323.7 kB / 0.6294 GB, free: 75.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001578/0.9418, allocations: 420 kB / 0.6298 GB, free: 75.17 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01243/0.9543, allocations: 6.496 MB / 0.6361 GB, free: 68.49 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.85e-05/0.9544, allocations: 3.906 kB / 0.6361 GB, free: 68.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004301/0.9549, allocations: 188 kB / 0.6363 GB, free: 68.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002645/0.9551, allocations: 313.4 kB / 0.6366 GB, free: 68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008519/0.9637, allocations: 4.642 MB / 0.6411 GB, free: 63.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02952/0.9932, allocations: 20.74 MB / 0.6614 GB, free: 42.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005512/0.9988, allocations: 5.578 MB / 0.6668 GB, free: 35.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/0.9999, allocations: 0.7097 MB / 0.6675 GB, free: 34.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/1, allocations: 108.7 kB / 0.6676 GB, free: 34.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/1, allocations: 43.34 kB / 0.6677 GB, free: 34.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=100): time 4.589e-06/1, allocations: 0 / 0.6677 GB, free: 34.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=100): time 0.001884/1.002, allocations: 1.107 MB / 0.6687 GB, free: 33.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/1.002, allocations: 64.17 kB / 0.6688 GB, free: 33.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002209/1.004, allocations: 1.285 MB / 0.6701 GB, free: 32.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.62e-05/1.004, allocations: 45.7 kB / 0.6701 GB, free: 32.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008967/1.005, allocations: 1.961 MB / 0.672 GB, free: 30.31 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003036/1.006, allocations: 365.1 kB / 0.6724 GB, free: 29.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/1.006, allocations: 44 kB / 0.6724 GB, free: 29.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002059/1.006, allocations: 451.3 kB / 0.6728 GB, free: 29.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/1.007, allocations: 0.8282 MB / 0.6736 GB, free: 28.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/1.009, allocations: 1.957 MB / 0.6756 GB, free: 26.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/1.01, allocations: 1.347 MB / 0.6769 GB, free: 24.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.871e-05/1.01, allocations: 12 kB / 0.6769 GB, free: 24.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.003324/1.013, allocations: 2.836 MB / 0.6797 GB, free: 21.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.832e-05/1.013, allocations: 23.94 kB / 0.6797 GB, free: 21.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.11e-05/1.013, allocations: 40 kB / 0.6797 GB, free: 21.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.243e-05/1.013, allocations: 60 kB / 0.6798 GB, free: 21.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/1.015, allocations: 0.5349 MB / 0.6803 GB, free: 21.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.733e-05/1.015, allocations: 79.72 kB / 0.6804 GB, free: 21.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/1.016, allocations: 297.1 kB / 0.6807 GB, free: 20.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/1.016, allocations: 124 kB / 0.6808 GB, free: 20.76 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (285): * Single equations (assignments): 281 * 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.0002527/1.017, allocations: 255.9 kB / 0.681 GB, free: 20.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/1.017, allocations: 134.3 kB / 0.6811 GB, free: 20.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002028/1.019, allocations: 1.431 MB / 0.6825 GB, free: 18.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001101/1.02, allocations: 1.002 MB / 0.6835 GB, free: 17.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/1.02, allocations: 0 / 0.6835 GB, free: 17.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/1.02, allocations: 7.969 kB / 0.6835 GB, free: 17.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01373/1.034, allocations: 12.05 MB / 0.6953 GB, free: 5.258 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.557e-05/1.034, allocations: 20 kB / 0.6953 GB, free: 5.238 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006673/1.035, allocations: 208.5 kB / 0.6955 GB, free: 5.035 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.656e-05/1.035, allocations: 28 kB / 0.6955 GB, free: 5.008 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.268e-05/1.035, allocations: 47.98 kB / 0.6956 GB, free: 4.961 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.577e-05/1.035, allocations: 39.86 kB / 0.6956 GB, free: 4.922 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-05/1.035, allocations: 31.86 kB / 0.6957 GB, free: 4.891 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00272/1.037, allocations: 3.725 MB / 0.6993 GB, free: 496 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006852/1.038, allocations: 339.1 kB / 0.6996 GB, free: 136 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/1.038, allocations: 55.91 kB / 0.6997 GB, free: 80 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006675/1.039, allocations: 59.95 kB / 0.6997 GB, free: 20 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001973/1.039, allocations: 135.5 kB / 0.6999 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.512e-05/1.039, allocations: 55.98 kB / 0.6999 GB, free: 15.83 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00157/1.041, allocations: 0.9657 MB / 0.7008 GB, free: 14.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.041, allocations: 0 / 0.7008 GB, free: 14.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003843/1.045, allocations: 0.9632 MB / 0.7018 GB, free: 13.89 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * Number of states: 1 (currentSensor0.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 97 * 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.0004608/1.045, allocations: 246.6 kB / 0.702 GB, free: 13.65 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002996/1.048, allocations: 1.893 MB / 0.7039 GB, free: 11.76 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/1.048, allocations: 4 kB / 0.7039 GB, free: 11.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008326/1.049, allocations: 0.6209 MB / 0.7045 GB, free: 11.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/1.051, allocations: 355.1 kB / 0.7048 GB, free: 10.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/1.061, allocations: 5.691 MB / 0.7104 GB, free: 4.801 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002923/1.064, allocations: 3.141 MB / 0.7134 GB, free: 1.625 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00208/1.066, allocations: 0.821 MB / 0.7143 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/1.067, allocations: 115.4 kB / 0.7144 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of SimCode: time 6.01e-07/1.067, allocations: 0 / 0.7144 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of Templates: time 0.2647/1.331, allocations: 17.49 MB / 0.7314 GB, free: 92.64 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches