Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001588/0.001588, 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.299/1.299, allocations: 221.3 MB / 235.5 MB, free: 2.918 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.0008663/0.0008665, allocations: 87.81 kB / 286.5 MB, free: 188 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.744e-05/2.746e-05, allocations: 0 / 343.9 MB, free: 4.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09104/0.09108, allocations: 50.41 MB / 394.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2863/0.3775, allocations: 89.48 MB / 483.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.3778, allocations: 87.94 kB / 483.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5989/0.9767, allocations: 209.2 MB / 0.6768 GB, free: 26.37 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.9768, allocations: 0 / 0.6768 GB, free: 26.37 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002309/0.977, allocations: 131.8 kB / 0.677 GB, free: 26.24 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: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.01774/0.9947, allocations: 5.873 MB / 0.6827 GB, free: 20.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.9948, allocations: 12.03 kB / 0.6827 GB, free: 20.29 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003321/0.9981, allocations: 1.038 MB / 0.6837 GB, free: 19.24 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01311/1.011, allocations: 2.081 MB / 0.6858 GB, free: 17.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008782/1.02, allocations: 3.838 MB / 0.6895 GB, free: 13.26 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003959/1.021, allocations: 452.2 kB / 0.6899 GB, free: 12.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001916/1.022, allocations: 0.5897 MB / 0.6905 GB, free: 12.22 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01701/1.039, allocations: 9.105 MB / 0.6994 GB, free: 2.895 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001428/1.04, allocations: 7.906 kB / 0.6994 GB, free: 2.887 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006346/1.04, allocations: 259.9 kB / 0.6997 GB, free: 2.633 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003495/1.041, allocations: 465.3 kB / 0.7001 GB, free: 2.176 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01383/1.055, allocations: 7.145 MB / 0.7071 GB, free: 11.02 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2864/1.341, allocations: 28.68 MB / 0.7351 GB, free: 59.35 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01072/1.352, allocations: 11.7 MB / 0.7465 GB, free: 49.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002657/1.354, allocations: 1.634 MB / 0.7481 GB, free: 49.87 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002347/1.355, allocations: 142.7 kB / 0.7482 GB, free: 49.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/1.355, allocations: 65.78 kB / 0.7483 GB, free: 49.73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=250): time 4.529e-06/1.355, allocations: 0 / 0.7483 GB, free: 49.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.004422/1.359, allocations: 2.661 MB / 0.7509 GB, free: 49.51 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/1.359, allocations: 104.8 kB / 0.751 GB, free: 49.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00268/1.362, allocations: 1.677 MB / 0.7526 GB, free: 49.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001527/1.362, allocations: 65.86 kB / 0.7527 GB, free: 49.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001369/1.363, allocations: 2.536 MB / 0.7552 GB, free: 48.15 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005637/1.364, allocations: 0.8487 MB / 0.756 GB, free: 47.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/1.364, allocations: 71.62 kB / 0.7561 GB, free: 47.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/1.364, allocations: 452.1 kB / 0.7565 GB, free: 47.37 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001766/1.366, allocations: 1.42 MB / 0.7579 GB, free: 47.36 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002202/1.368, allocations: 2.603 MB / 0.7604 GB, free: 45.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002346/1.371, allocations: 2.043 MB / 0.7624 GB, free: 45.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.153e-05/1.371, allocations: 11.09 kB / 0.7624 GB, free: 45.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=454) (initialization): time 0.005928/1.377, allocations: 4.557 MB / 0.7669 GB, free: 45.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.655e-05/1.377, allocations: 20.03 kB / 0.7669 GB, free: 45.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.075e-05/1.377, allocations: 38.62 kB / 0.7669 GB, free: 45.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006844/1.377, allocations: 314.2 kB / 0.7672 GB, free: 45.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002483/1.38, allocations: 0.7813 MB / 0.768 GB, free: 45.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004038/1.384, allocations: 4.612 MB / 0.7725 GB, free: 42.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/1.386, allocations: 422.4 kB / 0.7729 GB, free: 42.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00028/1.387, allocations: 165.8 kB / 0.7731 GB, free: 42.71 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.0004622/1.387, allocations: 323.4 kB / 0.7734 GB, free: 42.58 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003463/1.387, allocations: 211.7 kB / 0.7736 GB, free: 42.47 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005007/1.392, allocations: 3.288 MB / 0.7768 GB, free: 42.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-05/1.392, allocations: 29.19 kB / 0.7768 GB, free: 42.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/1.392, allocations: 3.5 kB / 0.7768 GB, free: 42.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-05/1.393, allocations: 15.91 kB / 0.7768 GB, free: 42.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/1.408, allocations: 11.88 MB / 0.7884 GB, free: 39.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-05/1.408, allocations: 13.19 kB / 0.7885 GB, free: 39.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001606/1.41, allocations: 431.5 kB / 0.7889 GB, free: 39.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006282/1.411, allocations: 283.7 kB / 0.7891 GB, free: 39.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001514/1.411, allocations: 72.16 kB / 0.7892 GB, free: 39.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003823/1.415, allocations: 4.525 MB / 0.7936 GB, free: 37.11 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.239e-05/1.415, allocations: 23.91 kB / 0.7936 GB, free: 37.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006189/1.421, allocations: 6.084 MB / 0.7996 GB, free: 34.74 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006261/1.421, allocations: 335 kB / 0.7999 GB, free: 34.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002636/1.422, allocations: 61.06 kB / 0.8 GB, free: 34.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/1.423, allocations: 124.3 kB / 0.8001 GB, free: 34.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002995/1.423, allocations: 216.4 kB / 0.8003 GB, free: 34.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/1.423, allocations: 86.3 kB / 0.8004 GB, free: 34.48 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001674/1.425, allocations: 1.258 MB / 0.8016 GB, free: 34.36 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.81e-07/1.425, allocations: 0 / 0.8016 GB, free: 34.36 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004122/1.429, allocations: 1.454 MB / 0.803 GB, free: 33.98 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.007679/1.437, allocations: 10.78 MB / 0.8135 GB, free: 26.22 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005418/1.442, allocations: 3.695 MB / 0.8172 GB, free: 24.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.696e-05/1.442, allocations: 3.781 kB / 0.8172 GB, free: 24.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002346/1.445, allocations: 1.728 MB / 0.8188 GB, free: 24.19 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002798/1.448, allocations: 478.8 kB / 0.8193 GB, free: 24.06 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0186/1.466, allocations: 9.981 MB / 0.829 GB, free: 20.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00322/1.469, allocations: 4.104 MB / 0.8331 GB, free: 18.38 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003243/1.473, allocations: 1.212 MB / 0.8342 GB, free: 17.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002252/1.475, allocations: 1.915 MB / 0.8361 GB, free: 15.84 MB / 442.7 MB Notification: Performance of SimCode: time 1.813e-06/1.475, allocations: 0 / 0.8361 GB, free: 15.84 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4169/1.892, allocations: 64.97 MB / 0.8996 GB, free: 76.7 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/1.892, allocations: 203.3 kB / 0.8998 GB, free: 76.48 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.201/5.093, allocations: 0 / 0.8998 GB, free: 76.48 MB / 474.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat