Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001561/0.001565, allocations: 181.2 kB / 16.4 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.938/1.938, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 97.28 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000427/0.0004271, allocations: 8 kB / 327.1 MB, free: 108 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3334, allocations: 47.57 MB / 374.6 MB, free: 45.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1471/0.4806, allocations: 89.44 MB / 464.1 MB, free: 7.172 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.4809, allocations: 83.95 kB / 464.2 MB, free: 7.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.326/1.807, allocations: 218.6 MB / 0.6668 GB, free: 54.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.158e-06/1.807, allocations: 0.5 kB / 0.6668 GB, free: 54.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005934/1.807, allocations: 144.1 kB / 0.6669 GB, free: 54.91 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.03226/1.84, allocations: 6.36 MB / 0.6731 GB, free: 52.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/1.84, allocations: 12.34 kB / 0.6731 GB, free: 52.93 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005971/1.846, allocations: 1.134 MB / 0.6743 GB, free: 52.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03349/1.879, allocations: 3.545 MB / 0.6777 GB, free: 52.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01349/1.893, allocations: 3.952 MB / 0.6816 GB, free: 51.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008963/1.894, allocations: 0.4914 MB / 0.6821 GB, free: 51.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00345/1.897, allocations: 0.6319 MB / 0.6827 GB, free: 51.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03832/1.936, allocations: 10.9 MB / 0.6933 GB, free: 51.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004479/1.936, allocations: 7.297 kB / 0.6933 GB, free: 51.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00301/1.939, allocations: 277.6 kB / 0.6936 GB, free: 51.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007737/1.94, allocations: 471.5 kB / 0.694 GB, free: 51.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02962/1.97, allocations: 9.745 MB / 0.7036 GB, free: 51.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09149/2.061, allocations: 33.56 MB / 0.7363 GB, free: 35.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02021/2.081, allocations: 13.37 MB / 0.7494 GB, free: 22.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04152/2.123, allocations: 15.17 MB / 0.7642 GB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.138e-05/2.123, allocations: 77.58 kB / 0.7643 GB, free: 9.582 MB / 410.7 MB Notification: Performance of pre-optimization done (n=482): time 9.267e-06/2.123, allocations: 1.969 kB / 0.7643 GB, free: 9.582 MB / 410.7 MB Notification: Performance of matching and sorting (n=482): time 0.04883/2.172, allocations: 17.57 MB / 0.7814 GB, free: 8.961 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/2.172, allocations: 125.6 kB / 0.7815 GB, free: 8.832 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004232/2.176, allocations: 1.561 MB / 0.7831 GB, free: 7.512 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001111/2.178, allocations: 89.7 kB / 0.7832 GB, free: 7.418 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002496/2.18, allocations: 2.414 MB / 0.7855 GB, free: 5.266 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003316/2.183, allocations: 1.592 MB / 0.7871 GB, free: 3.828 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001326/2.185, allocations: 88 kB / 0.7872 GB, free: 3.742 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007792/2.186, allocations: 0.5237 MB / 0.7877 GB, free: 3.273 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009651/2.195, allocations: 3.125 MB / 0.7907 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0241/2.22, allocations: 4.97 MB / 0.7956 GB, free: 14.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/2.231, allocations: 3.789 MB / 0.7993 GB, free: 11.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.145e-05/2.231, allocations: 11.95 kB / 0.7993 GB, free: 11.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.02988/2.261, allocations: 9.344 MB / 0.8084 GB, free: 2.016 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.776e-05/2.261, allocations: 20.94 kB / 0.8084 GB, free: 1.996 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.886e-05/2.261, allocations: 28 kB / 0.8085 GB, free: 1.969 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3297/2.591, allocations: 2.732 MB / 0.8111 GB, free: 83.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006353/2.597, allocations: 0.7623 MB / 0.8119 GB, free: 83.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01462/2.612, allocations: 9.691 MB / 0.8213 GB, free: 78.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005724/2.618, allocations: 0.5044 MB / 0.8218 GB, free: 78.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001574/2.619, allocations: 214.2 kB / 0.822 GB, free: 78.89 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 132 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (436): * Single equations (assignments): 378 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 6 {6 9,6 9,6 51,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.007517/2.627, allocations: 2.305 MB / 0.8243 GB, free: 78.78 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001495/2.628, allocations: 266.5 kB / 0.8245 GB, free: 78.68 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02567/2.654, allocations: 8.639 MB / 0.833 GB, free: 78.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002937/2.654, allocations: 140.9 kB / 0.8331 GB, free: 78.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.26e-05/2.654, allocations: 7.266 kB / 0.8331 GB, free: 78.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.24e-05/2.654, allocations: 21.53 kB / 0.8331 GB, free: 78.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01957/2.674, allocations: 7.058 MB / 0.84 GB, free: 78.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000108/2.674, allocations: 0 / 0.84 GB, free: 78.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004347/2.679, allocations: 437.2 kB / 0.8404 GB, free: 78.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00853/2.687, allocations: 2.685 MB / 0.8431 GB, free: 77.97 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00129/2.689, allocations: 105.6 kB / 0.8432 GB, free: 77.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01424/2.703, allocations: 9.633 MB / 0.8526 GB, free: 73.46 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/2.703, allocations: 3.469 kB / 0.8526 GB, free: 73.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03346/2.736, allocations: 12.73 MB / 0.865 GB, free: 71.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/2.738, allocations: 436.4 kB / 0.8654 GB, free: 70.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001545/2.739, allocations: 67.83 kB / 0.8655 GB, free: 70.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00381/2.743, allocations: 133.9 kB / 0.8656 GB, free: 70.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001791/2.745, allocations: 358 kB / 0.866 GB, free: 70.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009479/2.746, allocations: 127.3 kB / 0.8661 GB, free: 70.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002566/2.748, allocations: 1.144 MB / 0.8672 GB, free: 70.17 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.31e-07/2.748, allocations: 0 / 0.8672 GB, free: 70.17 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007797/2.756, allocations: 1.597 MB / 0.8688 GB, free: 69.86 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (253): * Single equations (assignments): 195 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 6 {6 9,6 9,6 51,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.03461/2.791, allocations: 13.49 MB / 0.8819 GB, free: 63.63 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02142/2.812, allocations: 7.619 MB / 0.8894 GB, free: 60.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-05/2.812, allocations: 0 / 0.8894 GB, free: 60.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01167/2.824, allocations: 3.822 MB / 0.8931 GB, free: 59.33 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004945/2.829, allocations: 452.9 kB / 0.8935 GB, free: 59.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09602/2.925, allocations: 55.46 MB / 0.9477 GB, free: 8.785 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009524/2.935, allocations: 4.302 MB / 0.9519 GB, free: 5.441 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006302/2.941, allocations: 2.143 MB / 0.954 GB, free: 3.461 MB / 442.7 MB Notification: Performance of SimCode: time 2.294e-06/2.941, allocations: 0 / 0.954 GB, free: 3.461 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.934/7.876, allocations: 334.6 MB / 1.281 GB, free: 38.2 MB / 474.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat