Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001008/0.001008, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 225.6 MB / 234.8 MB, free: 3.227 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001014/0.001014, allocations: 99.03 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.537e-05/2.538e-05, allocations: 4 kB / 343.8 MB, free: 8.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1015, allocations: 51.48 MB / 395.3 MB, free: 4.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3668/0.4684, allocations: 89.69 MB / 485 MB, free: 3.523 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.4687, allocations: 82.83 kB / 485 MB, free: 3.484 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6668/1.136, allocations: 218.7 MB / 0.6873 GB, free: 54.43 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.435e-06/1.136, allocations: 0 / 0.6873 GB, free: 54.43 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003575/1.136, allocations: 136.8 kB / 0.6874 GB, free: 54.41 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: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.02194/1.158, allocations: 5.903 MB / 0.6932 GB, free: 49.69 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/1.158, allocations: 12.03 kB / 0.6932 GB, free: 49.68 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01287/1.171, allocations: 2.065 MB / 0.6952 GB, free: 47.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009512/1.18, allocations: 3.837 MB / 0.6989 GB, free: 43.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004615/1.181, allocations: 196 kB / 0.6991 GB, free: 43.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002418/1.183, allocations: 363.5 kB / 0.6995 GB, free: 43.19 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01353/1.197, allocations: 6.757 MB / 0.7061 GB, free: 36.42 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0211/1.218, allocations: 8.134 MB / 0.714 GB, free: 28.07 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002494/1.218, allocations: 11.75 kB / 0.714 GB, free: 28.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00168/1.22, allocations: 7.984 kB / 0.714 GB, free: 28.06 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005152/1.221, allocations: 461.2 kB / 0.7145 GB, free: 27.61 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3229/1.543, allocations: 27.92 MB / 0.7417 GB, free: 58.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/1.554, allocations: 12.01 MB / 0.7535 GB, free: 49.55 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002536/1.557, allocations: 1.61 MB / 0.755 GB, free: 49.53 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003189/1.557, allocations: 219.5 kB / 0.7552 GB, free: 49.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/1.557, allocations: 70.14 kB / 0.7553 GB, free: 49.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=250): time 4.849e-06/1.557, allocations: 0 / 0.7553 GB, free: 49.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.007709/1.565, allocations: 3.439 MB / 0.7587 GB, free: 49.18 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/1.565, allocations: 106.2 kB / 0.7588 GB, free: 49.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002332/1.567, allocations: 1.584 MB / 0.7603 GB, free: 48.94 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001599/1.567, allocations: 25.7 kB / 0.7603 GB, free: 48.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001523/1.569, allocations: 2.532 MB / 0.7628 GB, free: 47.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006383/1.57, allocations: 0.8138 MB / 0.7636 GB, free: 47.36 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/1.57, allocations: 0 / 0.7636 GB, free: 47.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001908/1.57, allocations: 454.2 kB / 0.764 GB, free: 47.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/1.572, allocations: 1.397 MB / 0.7654 GB, free: 47.05 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/1.574, allocations: 2.561 MB / 0.7679 GB, free: 45.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006535/1.581, allocations: 2.92 MB / 0.7708 GB, free: 45.63 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.963e-05/1.581, allocations: 12.72 kB / 0.7708 GB, free: 45.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=454) (initialization): time 0.01046/1.591, allocations: 5.179 MB / 0.7758 GB, free: 45.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.499e-05/1.591, allocations: 24.05 kB / 0.7759 GB, free: 45.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.223e-05/1.591, allocations: 38.19 kB / 0.7759 GB, free: 45.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007418/1.592, allocations: 311.3 kB / 0.7762 GB, free: 45.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002861/1.595, allocations: 0.7921 MB / 0.777 GB, free: 45.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003957/1.599, allocations: 4.453 MB / 0.7813 GB, free: 42.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003465/1.602, allocations: 358.7 kB / 0.7817 GB, free: 42.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007239/1.603, allocations: 168.1 kB / 0.7818 GB, free: 42.55 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (420): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005538/1.604, allocations: 219.4 kB / 0.782 GB, free: 42.42 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008449/1.612, allocations: 3.436 MB / 0.7854 GB, free: 42.19 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004594/1.613, allocations: 209.7 kB / 0.7856 GB, free: 42.08 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008556/1.621, allocations: 3.948 MB / 0.7894 GB, free: 41.88 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/1.621, allocations: 27.06 kB / 0.7895 GB, free: 41.88 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/1.621, allocations: 5.656 kB / 0.7895 GB, free: 41.88 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.588e-05/1.621, allocations: 20.67 kB / 0.7895 GB, free: 41.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02059/1.642, allocations: 12.45 MB / 0.8016 GB, free: 38.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.21e-05/1.642, allocations: 14.59 kB / 0.8017 GB, free: 38.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/1.644, allocations: 454 kB / 0.8021 GB, free: 38.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006476/1.644, allocations: 271.3 kB / 0.8024 GB, free: 38.54 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001436/1.645, allocations: 35.59 kB / 0.8024 GB, free: 38.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004438/1.649, allocations: 4.371 MB / 0.8067 GB, free: 35.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.333e-05/1.649, allocations: 21.5 kB / 0.8067 GB, free: 35.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01212/1.661, allocations: 6.836 MB / 0.8133 GB, free: 33.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/1.662, allocations: 330 kB / 0.8137 GB, free: 33.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003068/1.663, allocations: 22.77 kB / 0.8137 GB, free: 33.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/1.664, allocations: 101.7 kB / 0.8138 GB, free: 33.29 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003803/1.664, allocations: 209.4 kB / 0.814 GB, free: 33.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/1.665, allocations: 88.58 kB / 0.8141 GB, free: 33.28 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00204/1.667, allocations: 1.174 MB / 0.8152 GB, free: 33.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.667, allocations: 3.281 kB / 0.8152 GB, free: 33.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004703/1.671, allocations: 1.346 MB / 0.8165 GB, free: 32.79 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (resistor2_1.pin_p.reference.gamma,currentSensorN.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (232): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0117/1.683, allocations: 11.47 MB / 0.8277 GB, free: 26.07 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005502/1.689, allocations: 3.599 MB / 0.8312 GB, free: 25.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.139e-05/1.689, allocations: 5.312 kB / 0.8312 GB, free: 25.78 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00231/1.691, allocations: 1.699 MB / 0.8329 GB, free: 25.32 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00263/1.694, allocations: 412.1 kB / 0.8333 GB, free: 25.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02107/1.715, allocations: 9.815 MB / 0.8429 GB, free: 21.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008279/1.723, allocations: 4.098 MB / 0.8469 GB, free: 19.67 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006639/1.73, allocations: 1.216 MB / 0.8481 GB, free: 19.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00409/1.734, allocations: 1.909 MB / 0.8499 GB, free: 17.97 MB / 442.7 MB Notification: Performance of SimCode: time 2.645e-06/1.734, allocations: 5.594 kB / 0.8499 GB, free: 17.96 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1162/1.85, allocations: 62.49 MB / 0.911 GB, free: 9.09 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/1.85, allocations: 164.2 kB / 0.9111 GB, free: 8.895 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.496/5.346, allocations: 3.938 kB / 0.9111 GB, free: 8.891 MB / 474.7 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat