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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 94.84 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 184.6 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 223.2 MB / 241.1 MB, free: 5.457 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003111/0.0003112, allocations: 8 kB / 300.8 MB, free: 6.051 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1472, allocations: 50.43 MB / 351.2 MB, free: 11.63 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01428/0.1615, allocations: 11.1 MB / 362.3 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01174/0.1733, allocations: 3.588 MB / 365.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003918/0.1773, allocations: 87.75 kB / 366 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004039/0.1814, allocations: 0.5748 MB / 366.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006673/0.1881, allocations: 1.304 MB / 367.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004047/0.1922, allocations: 0.852 MB / 368.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01429/0.2065, allocations: 7.163 MB / 375.9 MB, free: 2.914 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02327/0.2298, allocations: 11.95 MB / 387.9 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004434/0.2343, allocations: 2.118 MB / 390 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005394/0.2397, allocations: 2.599 MB / 392.6 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001843/0.2416, allocations: 380 kB / 392.9 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003399/0.245, allocations: 0.5116 MB / 393.5 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001764/0.2468, allocations: 1.071 MB / 394.5 MB, free: 192 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002541/0.2494, allocations: 1.194 MB / 395.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01634/0.2657, allocations: 9.969 MB / 405.7 MB, free: 4.988 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2658, allocations: 0 / 405.7 MB, free: 4.988 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.472e-06/0.2658, allocations: 4 kB / 405.7 MB, free: 4.984 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0006005/0.2664, allocations: 0 / 405.7 MB, free: 4.984 MB / 334.1 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.02189/0.2883, allocations: 6.567 MB / 412.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.2884, allocations: 8.031 kB / 412.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003908/0.2923, allocations: 1.058 MB / 413.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02/0.3123, allocations: 2.9 MB / 416.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0118/0.3242, allocations: 3.577 MB / 419.8 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006715/0.325, allocations: 481 kB / 420.3 MB, free: 6.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00342/0.3284, allocations: 0.6287 MB / 420.9 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2545/0.5829, allocations: 9.241 MB / 430.1 MB, free: 52.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003379/0.5833, allocations: 6.547 kB / 430.1 MB, free: 52.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002166/0.5855, allocations: 261.7 kB / 430.4 MB, free: 52.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004862/0.586, allocations: 329.7 kB / 430.7 MB, free: 52.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02169/0.6077, allocations: 7.908 MB / 438.6 MB, free: 51.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06331/0.6711, allocations: 28.67 MB / 467.3 MB, free: 31.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01088/0.682, allocations: 11.67 MB / 479 MB, free: 18.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006087/0.6827, allocations: 132.6 kB / 479.1 MB, free: 18.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.841e-05/0.6828, allocations: 60.56 kB / 479.2 MB, free: 18.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=238): time 6.291e-06/0.6828, allocations: 0 / 479.2 MB, free: 18.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=238): time 0.008503/0.6914, allocations: 4.144 MB / 483.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.6915, allocations: 103.1 kB / 483.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003134/0.6946, allocations: 1.883 MB / 485.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004892/0.6951, allocations: 65.7 kB / 485.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001595/0.6967, allocations: 2.552 MB / 487.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001157/0.6979, allocations: 0.8143 MB / 488.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.6981, allocations: 68 kB / 488.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.6984, allocations: 461.2 kB / 489.2 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002065/0.7004, allocations: 1.389 MB / 490.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002594/0.703, allocations: 2.572 MB / 493.2 MB, free: 3.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002737/0.7058, allocations: 1.996 MB / 495.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.639e-05/0.7059, allocations: 12 kB / 495.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.009349/0.7152, allocations: 4.5 MB / 499.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.207e-05/0.7153, allocations: 20 kB / 499.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.3e-05/0.7154, allocations: 40 kB / 499.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009583/0.7164, allocations: 316.6 kB / 0.4884 GB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003577/0.72, allocations: 0.7683 MB / 0.4891 GB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00688/0.7269, allocations: 4.687 MB / 0.4937 GB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003466/0.7304, allocations: 408 kB / 0.4941 GB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008231/0.7313, allocations: 164 kB / 0.4942 GB, free: 6.375 MB / 366.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (414): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.005177/0.7365, allocations: 2.194 MB / 0.4964 GB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005918/0.7371, allocations: 209.4 kB / 0.4966 GB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006108/0.7432, allocations: 3.181 MB / 0.4997 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/0.7433, allocations: 24 kB / 0.4997 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.7433, allocations: 4 kB / 0.4997 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-05/0.7434, allocations: 19.95 kB / 0.4997 GB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02501/0.7684, allocations: 11.62 MB / 0.5111 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.486e-05/0.7684, allocations: 20.02 kB / 0.5111 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001841/0.7703, allocations: 433.2 kB / 0.5115 GB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008244/0.7711, allocations: 284 kB / 0.5118 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002348/0.7714, allocations: 63.98 kB / 0.5118 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006236/0.7776, allocations: 4.632 MB / 0.5164 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.26e-05/0.7777, allocations: 19.89 kB / 0.5164 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/0.7879, allocations: 5.815 MB / 0.522 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001867/0.7898, allocations: 0.5406 MB / 0.5226 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005063/0.7904, allocations: 59.98 kB / 0.5226 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001892/0.7923, allocations: 128 kB / 0.5228 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005216/0.7928, allocations: 197.3 kB / 0.5229 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001969/0.793, allocations: 84.3 kB / 0.523 GB, free: 7.602 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003066/0.7961, allocations: 1.275 MB / 0.5243 GB, free: 6.332 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7961, allocations: 4 kB / 0.5243 GB, free: 6.328 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.006275/0.8024, allocations: 1.434 MB / 0.5257 GB, free: 4.887 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.plug_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 (224): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.01352/0.816, allocations: 10.21 MB / 0.5356 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006724/0.8227, allocations: 3.605 MB / 0.5392 GB, free: 6.645 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.041e-05/0.8228, allocations: 4.5 kB / 0.5392 GB, free: 6.641 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003122/0.8259, allocations: 1.684 MB / 0.5408 GB, free: 4.934 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003836/0.8298, allocations: 461.5 kB / 0.5413 GB, free: 4.488 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05787/0.8877, allocations: 50.1 MB / 0.5902 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2019/1.09, allocations: 4.102 MB / 0.5942 GB, free: 155.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005059/1.095, allocations: 1.194 MB / 0.5954 GB, free: 155.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004096/1.099, allocations: 1.989 MB / 0.5973 GB, free: 155.3 MB / 462.1 MB Notification: Performance of SimCode: time 9.22e-07/1.099, allocations: 0 / 0.5973 GB, free: 155.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09606/1.195, allocations: 61.79 MB / 0.6576 GB, free: 109.6 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001399/1.195, allocations: 221.1 kB / 0.6578 GB, free: 109.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.989/4.184, allocations: 2.969 kB / 0.6578 GB, free: 109.4 MB / 462.1 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