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.001626/0.001626, allocations: 175.9 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 221.5 MB / 230.3 MB, free: 7.523 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.0009045/0.0009045, allocations: 96.98 kB / 281.2 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.309e-05/1.31e-05, allocations: 0 / 337.1 MB, free: 9.922 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09/0.09003, allocations: 50.42 MB / 387.6 MB, free: 7.461 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3092/0.3993, allocations: 88.82 MB / 476.4 MB, free: 5.867 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.3996, allocations: 79.95 kB / 476.5 MB, free: 5.789 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6002/0.9998, allocations: 207 MB / 0.6675 GB, free: 39.28 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.9999, allocations: 0 / 0.6675 GB, free: 39.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001859/1, allocations: 131.9 kB / 0.6676 GB, free: 39.15 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.01538/1.015, allocations: 5.861 MB / 0.6733 GB, free: 33.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/1.016, allocations: 15.97 kB / 0.6733 GB, free: 33.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01249/1.028, allocations: 2.069 MB / 0.6753 GB, free: 31.13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007551/1.036, allocations: 3.842 MB / 0.6791 GB, free: 27.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002811/1.036, allocations: 196 kB / 0.6793 GB, free: 27.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001529/1.037, allocations: 351.9 kB / 0.6796 GB, free: 26.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01166/1.049, allocations: 6.761 MB / 0.6862 GB, free: 19.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0176/1.067, allocations: 8.134 MB / 0.6942 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001821/1.067, allocations: 15.86 kB / 0.6942 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006401/1.068, allocations: 7.984 kB / 0.6942 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003335/1.068, allocations: 461.2 kB / 0.6946 GB, free: 11.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2734/1.341, allocations: 27.42 MB / 0.7214 GB, free: 57.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01147/1.353, allocations: 12.01 MB / 0.7331 GB, free: 48.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002726/1.356, allocations: 1.614 MB / 0.7347 GB, free: 48.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002758/1.356, allocations: 137.6 kB / 0.7349 GB, free: 48.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.583e-05/1.356, allocations: 61.97 kB / 0.7349 GB, free: 48.06 MB / 426.7 MB Notification: Performance of pre-optimization done (n=250): time 5.26e-06/1.356, allocations: 2.625 kB / 0.7349 GB, free: 48.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=250): time 0.006634/1.363, allocations: 3.136 MB / 0.738 GB, free: 47.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/1.363, allocations: 106.1 kB / 0.7381 GB, free: 47.74 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00327/1.366, allocations: 1.584 MB / 0.7396 GB, free: 47.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002258/1.366, allocations: 25.7 kB / 0.7396 GB, free: 47.53 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002005/1.368, allocations: 2.524 MB / 0.7421 GB, free: 46.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007628/1.369, allocations: 0.815 MB / 0.7429 GB, free: 45.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/1.369, allocations: 4.188 kB / 0.7429 GB, free: 45.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002043/1.369, allocations: 453.1 kB / 0.7433 GB, free: 45.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00195/1.371, allocations: 1.398 MB / 0.7447 GB, free: 45.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002132/1.374, allocations: 2.562 MB / 0.7472 GB, free: 44.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003887/1.377, allocations: 2.581 MB / 0.7497 GB, free: 44.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-05/1.377, allocations: 12.14 kB / 0.7497 GB, free: 44.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=454) (initialization): time 0.007828/1.385, allocations: 4.845 MB / 0.7545 GB, free: 44.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.492e-05/1.385, allocations: 23.34 kB / 0.7545 GB, free: 44.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.001e-05/1.385, allocations: 36.56 kB / 0.7545 GB, free: 44.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007171/1.386, allocations: 314.1 kB / 0.7548 GB, free: 43.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002585/1.389, allocations: 0.7859 MB / 0.7556 GB, free: 43.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003836/1.393, allocations: 4.466 MB / 0.76 GB, free: 41.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/1.395, allocations: 362.3 kB / 0.7603 GB, free: 41.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000303/1.395, allocations: 162.9 kB / 0.7605 GB, free: 41.14 MB / 426.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.0004516/1.396, allocations: 212 kB / 0.7607 GB, free: 41.02 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005337/1.401, allocations: 3.138 MB / 0.7637 GB, free: 40.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003205/1.401, allocations: 210.3 kB / 0.7639 GB, free: 40.67 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006202/1.408, allocations: 3.664 MB / 0.7675 GB, free: 40.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/1.408, allocations: 35.3 kB / 0.7675 GB, free: 40.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.018e-05/1.408, allocations: 9.938 kB / 0.7676 GB, free: 40.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-05/1.408, allocations: 9.562 kB / 0.7676 GB, free: 40.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01992/1.428, allocations: 11.29 MB / 0.7786 GB, free: 38.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.728e-05/1.428, allocations: 14.03 kB / 0.7786 GB, free: 38.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001847/1.43, allocations: 452.8 kB / 0.779 GB, free: 38.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006659/1.43, allocations: 267.2 kB / 0.7793 GB, free: 38.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002637/1.431, allocations: 41.89 kB / 0.7793 GB, free: 38.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003819/1.434, allocations: 4.374 MB / 0.7836 GB, free: 35.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.498e-05/1.434, allocations: 20.28 kB / 0.7836 GB, free: 35.36 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007974/1.442, allocations: 6.545 MB / 0.79 GB, free: 31.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000655/1.443, allocations: 340.3 kB / 0.7903 GB, free: 31.08 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004515/1.444, allocations: 25.02 kB / 0.7904 GB, free: 31.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/1.445, allocations: 91.77 kB / 0.7904 GB, free: 31.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003071/1.445, allocations: 211.1 kB / 0.7906 GB, free: 31.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001729/1.446, allocations: 94.89 kB / 0.7907 GB, free: 31.01 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001734/1.447, allocations: 1.171 MB / 0.7919 GB, free: 30.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.447, allocations: 1.312 kB / 0.7919 GB, free: 30.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004384/1.452, allocations: 1.337 MB / 0.7932 GB, free: 30.16 MB / 426.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.009035/1.461, allocations: 11.17 MB / 0.8041 GB, free: 21.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005267/1.466, allocations: 3.596 MB / 0.8076 GB, free: 20.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.892e-05/1.466, allocations: 7.688 kB / 0.8076 GB, free: 20.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002232/1.468, allocations: 1.698 MB / 0.8093 GB, free: 19.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/1.471, allocations: 418 kB / 0.8097 GB, free: 19.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02069/1.492, allocations: 9.801 MB / 0.8192 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003353/1.495, allocations: 4.096 MB / 0.8232 GB, free: 8.715 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003324/1.499, allocations: 1.218 MB / 0.8244 GB, free: 7.945 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002473/1.501, allocations: 1.909 MB / 0.8263 GB, free: 6.18 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/1.501, allocations: 0 / 0.8263 GB, free: 6.18 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3488/1.85, allocations: 62.43 MB / 0.8873 GB, free: 78.32 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/1.85, allocations: 170.3 kB / 0.8874 GB, free: 78.13 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.258/5.109, allocations: 0 / 0.8874 GB, free: 78.13 MB / 458.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