Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",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.001037/0.001037, allocations: 101.1 kB / 17.01 MB, free: 6.391 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.001175/0.001175, allocations: 182.2 kB / 17.89 MB, free: 5.922 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.449/1.449, allocations: 223.3 MB / 241.9 MB, free: 260 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2155/0.2155, allocations: 44.22 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003066/0.0003066, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1383, allocations: 61.93 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01654/0.1549, allocations: 17.05 MB / 488.7 MB, free: 12.51 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.1665, allocations: 4.531 MB / 493.2 MB, free: 7.965 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004212/0.1708, allocations: 139.6 kB / 493.4 MB, free: 7.828 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004274/0.1751, allocations: 0.8735 MB / 494.3 MB, free: 6.949 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00893/0.184, allocations: 1.906 MB / 496.2 MB, free: 5.043 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004224/0.1883, allocations: 0.9581 MB / 497.1 MB, free: 4.086 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0175/0.2058, allocations: 11.56 MB / 0.4968 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.363/0.5688, allocations: 21.31 MB / 0.5176 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01117/0.58, allocations: 4.532 MB / 0.522 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01144/0.5915, allocations: 5.171 MB / 0.527 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005195/0.5967, allocations: 0.6792 MB / 0.5277 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008656/0.6054, allocations: 0.8651 MB / 0.5286 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006514/0.612, allocations: 2.291 MB / 0.5308 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006961/0.619, allocations: 2.334 MB / 0.5331 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02058/0.6396, allocations: 19.82 MB / 0.5524 GB, free: 14.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.6396, allocations: 0 / 0.5524 GB, free: 14.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.6396, allocations: 4 kB / 0.5524 GB, free: 14.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000797/0.6404, allocations: 0 / 0.5524 GB, free: 14.11 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.03637/0.6768, allocations: 11.97 MB / 0.5641 GB, free: 3.492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.6769, allocations: 12.03 kB / 0.5641 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007758/0.6846, allocations: 1.722 MB / 0.5658 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0587/0.7434, allocations: 11.48 MB / 0.577 GB, free: 7.754 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01798/0.7614, allocations: 7.004 MB / 0.5839 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001318/0.7628, allocations: 0.8891 MB / 0.5847 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007183/0.77, allocations: 1.169 MB / 0.5859 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06386/0.8338, allocations: 18.47 MB / 0.6039 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009737/0.8349, allocations: 19.81 kB / 0.6039 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006513/0.8414, allocations: 497.8 kB / 0.6044 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008329/0.8423, allocations: 0.6538 MB / 0.605 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04752/0.8898, allocations: 18.99 MB / 0.6236 GB, free: 8.629 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1312/1.021, allocations: 60.82 MB / 0.683 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02432/1.045, allocations: 16.57 MB / 0.6992 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008886/1.054, allocations: 4.505 MB / 0.7036 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008558/1.055, allocations: 238 kB / 0.7038 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/1.055, allocations: 109.4 kB / 0.7039 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 1.061e-05/1.055, allocations: 0 / 0.7039 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.6155/1.671, allocations: 12.31 MB / 0.7159 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.641e-05/1.671, allocations: 118.6 kB / 0.716 GB, free: 138.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02134/1.692, allocations: 8.554 MB / 0.7244 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00138/1.694, allocations: 132.5 kB / 0.7245 GB, free: 137.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004212/1.698, allocations: 4.491 MB / 0.7289 GB, free: 136.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002653/1.701, allocations: 2.186 MB / 0.731 GB, free: 134.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006607/1.701, allocations: 154.9 kB / 0.7312 GB, free: 134.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000473/1.702, allocations: 0.6223 MB / 0.7318 GB, free: 134.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007516/1.709, allocations: 4.076 MB / 0.7358 GB, free: 134.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008129/1.718, allocations: 6.887 MB / 0.7425 GB, free: 130.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009068/1.727, allocations: 5.566 MB / 0.7479 GB, free: 128.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002252/1.727, allocations: 31.56 kB / 0.748 GB, free: 128.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02182/1.749, allocations: 11.95 MB / 0.7596 GB, free: 124.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001942/1.749, allocations: 46.84 kB / 0.7597 GB, free: 124.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000217/1.749, allocations: 92.66 kB / 0.7598 GB, free: 124.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/1.75, allocations: 426.8 kB / 0.7602 GB, free: 124.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0073/1.758, allocations: 1.998 MB / 0.7621 GB, free: 124.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005378/1.763, allocations: 8.918 MB / 0.7708 GB, free: 116.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007231/1.77, allocations: 1.358 MB / 0.7721 GB, free: 115.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001901/1.772, allocations: 373.2 kB / 0.7725 GB, free: 115.4 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * 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 (971): * Single equations (assignments): 965 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01009/1.782, allocations: 4.584 MB / 0.777 GB, free: 113.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001959/1.784, allocations: 0.7018 MB / 0.7777 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02109/1.805, allocations: 10.59 MB / 0.788 GB, free: 103.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.711e-05/1.806, allocations: 71.66 kB / 0.7881 GB, free: 103.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.478e-05/1.806, allocations: 0 / 0.7881 GB, free: 103.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001302/1.806, allocations: 31.88 kB / 0.7881 GB, free: 103.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4308/2.237, allocations: 156.6 MB / 0.941 GB, free: 171.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002631/2.237, allocations: 87.44 kB / 0.9411 GB, free: 171.9 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005907/2.243, allocations: 1.535 MB / 0.9426 GB, free: 171.7 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009816/2.244, allocations: 395 kB / 0.943 GB, free: 171.6 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001227/2.245, allocations: 252 kB / 0.9432 GB, free: 171.5 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005359/2.25, allocations: 8.788 MB / 0.9518 GB, free: 163.5 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.518e-05/2.251, allocations: 138.4 kB / 0.9519 GB, free: 163.4 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02269/2.273, allocations: 18.48 MB / 0.97 GB, free: 152.5 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005138/2.278, allocations: 2.02 MB / 0.9719 GB, free: 151.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002142/2.281, allocations: 252.7 kB / 0.9722 GB, free: 151.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005613/2.286, allocations: 0.5573 MB / 0.9727 GB, free: 151.5 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001214/2.287, allocations: 0.7275 MB / 0.9734 GB, free: 151.2 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000559/2.288, allocations: 306.7 kB / 0.9737 GB, free: 151.2 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.01001/2.298, allocations: 5.998 MB / 0.9796 GB, free: 149.1 MB / 0.5607 GB Notification: Performance of sort global known variables: time 5.71e-07/2.298, allocations: 0 / 0.9796 GB, free: 149.1 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01013/2.308, allocations: 2.62 MB / 0.9821 GB, free: 148.5 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.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 (721): * Single equations (assignments): 715 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02173/2.33, allocations: 19.37 MB / 1.001 GB, free: 129.3 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01582/2.346, allocations: 10.33 MB / 1.011 GB, free: 120.3 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-05/2.346, allocations: 16 kB / 1.011 GB, free: 120.3 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.00816/2.354, allocations: 5.424 MB / 1.016 GB, free: 114.8 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01247/2.367, allocations: 1.476 MB / 1.018 GB, free: 113.4 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1464/2.513, allocations: 86.87 MB / 1.103 GB, free: 20.75 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01434/2.527, allocations: 7.765 MB / 1.11 GB, free: 12.94 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.01125/2.539, allocations: 3.57 MB / 1.114 GB, free: 9.359 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009646/2.548, allocations: 4.147 MB / 1.118 GB, free: 5.211 MB / 0.5607 GB Notification: Performance of SimCode: time 1.683e-06/2.548, allocations: 0 / 1.118 GB, free: 5.211 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5715/3.12, allocations: 184.3 MB / 1.298 GB, free: 59.98 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/3.12, allocations: 235.9 kB / 1.298 GB, free: 59.73 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.047/10.17, allocations: 3.094 kB / 1.298 GB, free: 59.73 MB / 0.5763 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat does not exist to compare? outputFormat=mat