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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0008894/0.0008895, allocations: 94.89 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001145/0.001145, allocations: 190.9 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.3 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003038, allocations: 4 kB / 306.8 MB, free: 1.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1124, allocations: 51.5 MB / 358.3 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01168/0.1241, allocations: 11.98 MB / 370.3 MB, free: 1.695 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1726/0.2968, allocations: 3.525 MB / 373.8 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002103/0.2989, allocations: 91.69 kB / 373.9 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002127/0.3011, allocations: 0.5511 MB / 374.5 MB, free: 8.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005113/0.3062, allocations: 1.128 MB / 375.6 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003036/0.3093, allocations: 0.9742 MB / 376.6 MB, free: 8.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01314/0.3224, allocations: 9.094 MB / 385.7 MB, free: 7.352 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01834/0.3408, allocations: 12.12 MB / 397.8 MB, free: 3.289 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00324/0.3441, allocations: 2.347 MB / 400.1 MB, free: 1.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003318/0.3474, allocations: 2.784 MB / 402.9 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006652/0.3481, allocations: 380 kB / 403.3 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.3496, allocations: 0.5625 MB / 403.8 MB, free: 14.24 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000923/0.3505, allocations: 1.089 MB / 404.9 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001413/0.352, allocations: 1.194 MB / 406.1 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009027/0.361, allocations: 9.994 MB / 416.1 MB, free: 2.223 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.361, allocations: 0 / 416.1 MB, free: 2.223 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.361, allocations: 4 kB / 416.1 MB, free: 2.219 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002829/0.3613, allocations: 0 / 416.1 MB, free: 2.219 MB / 318.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.01583/0.3772, allocations: 6.569 MB / 422.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3772, allocations: 8.031 kB / 422.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00284/0.3801, allocations: 1.052 MB / 423.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01851/0.3986, allocations: 2.926 MB / 426.7 MB, free: 7.711 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008174/0.4068, allocations: 3.6 MB / 430.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005198/0.4074, allocations: 479.5 kB / 430.7 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001956/0.4093, allocations: 0.6267 MB / 431.4 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02261/0.432, allocations: 9.287 MB / 440.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001429/0.4321, allocations: 11.91 kB / 440.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007123/0.4329, allocations: 265.8 kB / 440.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003189/0.4332, allocations: 325.5 kB / 441.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0154/0.4486, allocations: 7.915 MB / 449.2 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04858/0.4972, allocations: 29.15 MB / 478.3 MB, free: 3.199 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01324/0.5105, allocations: 11.67 MB / 490 MB, free: 5.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002765/0.5133, allocations: 1.607 MB / 491.6 MB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003108/0.5137, allocations: 216.1 kB / 491.8 MB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.803e-05/0.5137, allocations: 59.3 kB / 491.9 MB, free: 3.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=238): time 4.088e-06/0.5137, allocations: 4 kB / 491.9 MB, free: 3.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=238): time 0.008136/0.5219, allocations: 4.131 MB / 496 MB, free: 15.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/0.522, allocations: 103.1 kB / 496.1 MB, free: 15.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00295/0.5249, allocations: 1.883 MB / 498 MB, free: 13.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002152/0.5252, allocations: 65.7 kB / 498 MB, free: 13.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001895/0.5271, allocations: 2.551 MB / 0.4889 GB, free: 11.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008719/0.528, allocations: 0.8178 MB / 0.4897 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.5282, allocations: 64 kB / 0.4897 GB, free: 10.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002627/0.5284, allocations: 457.2 kB / 0.4902 GB, free: 9.734 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002348/0.5308, allocations: 1.389 MB / 0.4915 GB, free: 8.344 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003253/0.534, allocations: 2.583 MB / 0.494 GB, free: 5.223 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003105/0.5372, allocations: 1.996 MB / 0.496 GB, free: 3.227 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.141e-05/0.5372, allocations: 8 kB / 0.496 GB, free: 3.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.007077/0.5443, allocations: 4.487 MB / 0.5004 GB, free: 14.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.604e-05/0.5444, allocations: 20 kB / 0.5004 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.202e-05/0.5444, allocations: 40.06 kB / 0.5004 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007868/0.5452, allocations: 314.8 kB / 0.5007 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002601/0.5478, allocations: 0.7722 MB / 0.5015 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005111/0.553, allocations: 4.625 MB / 0.506 GB, free: 8.684 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00249/0.5555, allocations: 404 kB / 0.5064 GB, free: 8.285 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004903/0.556, allocations: 168 kB / 0.5065 GB, free: 8.121 MB / 430.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.004179/0.5602, allocations: 2.191 MB / 0.5087 GB, free: 5.918 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004614/0.5606, allocations: 213.3 kB / 0.5089 GB, free: 5.707 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005568/0.5662, allocations: 3.17 MB / 0.512 GB, free: 2.504 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.777e-05/0.5663, allocations: 25.64 kB / 0.512 GB, free: 2.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/0.5663, allocations: 8 kB / 0.512 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.782e-05/0.5663, allocations: 11.95 kB / 0.512 GB, free: 2.461 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02059/0.5869, allocations: 12.67 MB / 0.5244 GB, free: 5.113 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.837e-05/0.587, allocations: 27.98 kB / 0.5244 GB, free: 5.086 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001661/0.5887, allocations: 431.5 kB / 0.5248 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007126/0.5894, allocations: 284.6 kB / 0.5251 GB, free: 4.383 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001875/0.5896, allocations: 64 kB / 0.5252 GB, free: 4.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2542/0.8438, allocations: 4.544 MB / 0.5296 GB, free: 130.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.26e-05/0.8438, allocations: 21.08 kB / 0.5296 GB, free: 130.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008305/0.8522, allocations: 4.964 MB / 0.5345 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/0.8534, allocations: 0.5404 MB / 0.535 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003241/0.8538, allocations: 68.19 kB / 0.5351 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.855, allocations: 124.1 kB / 0.5352 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003367/0.8554, allocations: 206.8 kB / 0.5354 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/0.8555, allocations: 84.89 kB / 0.5355 GB, free: 129.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002227/0.8577, allocations: 1.277 MB / 0.5367 GB, free: 129.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.8578, allocations: 0 / 0.5367 GB, free: 129.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004854/0.8626, allocations: 1.436 MB / 0.5381 GB, free: 129 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * 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 (226): * Single equations (assignments): 224 * 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.007269/0.8699, allocations: 5.638 MB / 0.5436 GB, free: 125.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005934/0.8759, allocations: 3.604 MB / 0.5471 GB, free: 124.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.92e-05/0.8759, allocations: 6.75 kB / 0.5471 GB, free: 124.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002706/0.8786, allocations: 1.682 MB / 0.5488 GB, free: 123.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003066/0.8817, allocations: 0.508 MB / 0.5493 GB, free: 123.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03639/0.9181, allocations: 24.1 MB / 0.5728 GB, free: 109.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004337/0.9225, allocations: 4.011 MB / 0.5767 GB, free: 107.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003404/0.9259, allocations: 1.199 MB / 0.5779 GB, free: 106.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002641/0.9286, allocations: 1.982 MB / 0.5798 GB, free: 104.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.733e-06/0.9286, allocations: 3.938 kB / 0.5798 GB, free: 104.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09065/1.019, allocations: 61.94 MB / 0.6403 GB, free: 43.91 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/1.02, allocations: 231.8 kB / 0.6406 GB, free: 43.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.135/4.154, allocations: 0 / 0.6406 GB, free: 43.67 MB / 446.1 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