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.001143/0.001143, allocations: 95.22 kB / 16.99 MB, free: 5.941 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.001356/0.001356, allocations: 181.3 kB / 17.87 MB, free: 5.609 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.41/1.41, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2409/0.2409, allocations: 44.22 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003254, allocations: 11.98 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1425, allocations: 61.92 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01572/0.1583, allocations: 15.81 MB / 487.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.1708, allocations: 4.708 MB / 492.1 MB, free: 9.059 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004395/0.1753, allocations: 135.6 kB / 492.2 MB, free: 8.926 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003752/0.179, allocations: 0.9441 MB / 493.1 MB, free: 7.977 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00836/0.1874, allocations: 1.81 MB / 495 MB, free: 6.168 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003797/0.1913, allocations: 0.9538 MB / 495.9 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01261/0.2039, allocations: 7.754 MB / 0.4919 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3661/0.57, allocations: 21.1 MB / 0.5125 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01042/0.5805, allocations: 4.1 MB / 0.5165 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01325/0.5938, allocations: 4.648 MB / 0.521 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004706/0.5985, allocations: 0.6827 MB / 0.5217 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0077/0.6063, allocations: 0.8291 MB / 0.5225 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006262/0.6126, allocations: 2.203 MB / 0.5246 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006679/0.6193, allocations: 2.33 MB / 0.5269 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02099/0.6403, allocations: 19.78 MB / 0.5462 GB, free: 1.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.6404, allocations: 3.562 kB / 0.5462 GB, free: 1.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.145e-06/0.6404, allocations: 0 / 0.5462 GB, free: 1.805 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008664/0.6412, allocations: 0 / 0.5462 GB, free: 1.805 MB / 382.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.03806/0.6793, allocations: 11.96 MB / 0.5579 GB, free: 9.297 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.6794, allocations: 8.031 kB / 0.5579 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00815/0.6875, allocations: 1.725 MB / 0.5596 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05902/0.7466, allocations: 11.48 MB / 0.5708 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01861/0.7652, allocations: 7.187 MB / 0.5778 GB, free: 7.789 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001128/0.7664, allocations: 0.8875 MB / 0.5787 GB, free: 6.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006133/0.7726, allocations: 1.17 MB / 0.5798 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0547/0.8273, allocations: 18.35 MB / 0.5978 GB, free: 3.379 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004693/0.8278, allocations: 15.91 kB / 0.5978 GB, free: 3.363 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004345/0.8322, allocations: 500 kB / 0.5983 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007038/0.8329, allocations: 0.6577 MB / 0.5989 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04408/0.877, allocations: 18.96 MB / 0.6174 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1241/1.001, allocations: 60.57 MB / 0.6766 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02157/1.023, allocations: 16.53 MB / 0.6927 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007044/1.023, allocations: 240.4 kB / 0.6929 GB, free: 476 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.733e-05/1.024, allocations: 107.8 kB / 0.693 GB, free: 356 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=653): time 7.504e-06/1.024, allocations: 2.734 kB / 0.693 GB, free: 356 kB / 0.5137 GB Notification: Performance of matching and sorting (n=653): time 0.02059/1.044, allocations: 12.19 MB / 0.705 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.101e-05/1.044, allocations: 120.5 kB / 0.7051 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3527/1.397, allocations: 8.481 MB / 0.7134 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00163/1.399, allocations: 135.2 kB / 0.7135 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.005778/1.404, allocations: 4.492 MB / 0.7179 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.004011/1.409, allocations: 2.185 MB / 0.72 GB, free: 157.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007991/1.409, allocations: 155 kB / 0.7201 GB, free: 157.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0005605/1.41, allocations: 0.6189 MB / 0.7208 GB, free: 157.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008844/1.419, allocations: 4.057 MB / 0.7247 GB, free: 156.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.011/1.43, allocations: 6.873 MB / 0.7314 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008803/1.439, allocations: 5.563 MB / 0.7369 GB, free: 149.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001499/1.439, allocations: 23.72 kB / 0.7369 GB, free: 149.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=983) (initialization): time 0.0227/1.462, allocations: 11.92 MB / 0.7485 GB, free: 145 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.84e-05/1.462, allocations: 46.06 kB / 0.7486 GB, free: 145 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001798/1.462, allocations: 98.31 kB / 0.7487 GB, free: 145 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008181/1.463, allocations: 403.6 kB / 0.749 GB, free: 144.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007428/1.47, allocations: 2.005 MB / 0.751 GB, free: 144.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005057/1.475, allocations: 8.782 MB / 0.7596 GB, free: 136.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008565/1.484, allocations: 1.342 MB / 0.7609 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002118/1.486, allocations: 378.1 kB / 0.7613 GB, free: 135.7 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 420 * 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 (977): * Single equations (assignments): 971 * 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.01113/1.497, allocations: 4.584 MB / 0.7657 GB, free: 133.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001689/1.499, allocations: 0.6994 MB / 0.7664 GB, free: 133.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0149/1.514, allocations: 10.55 MB / 0.7767 GB, free: 127.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-05/1.514, allocations: 68 kB / 0.7768 GB, free: 127.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/1.514, allocations: 3.062 kB / 0.7768 GB, free: 127.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-05/1.514, allocations: 31.45 kB / 0.7768 GB, free: 127.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4765/1.99, allocations: 155.9 MB / 0.929 GB, free: 159.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002856/1.991, allocations: 85.28 kB / 0.9291 GB, free: 159.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006326/1.997, allocations: 1.535 MB / 0.9306 GB, free: 159.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008202/1.998, allocations: 371.1 kB / 0.931 GB, free: 159.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001048/1.999, allocations: 245 kB / 0.9312 GB, free: 159.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004832/2.004, allocations: 8.688 MB / 0.9397 GB, free: 152 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-05/2.004, allocations: 134 kB / 0.9398 GB, free: 152 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02543/2.029, allocations: 33.63 MB / 0.9726 GB, free: 125.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006884/2.036, allocations: 2.01 MB / 0.9746 GB, free: 124.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002515/2.039, allocations: 247.9 kB / 0.9748 GB, free: 124.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006405/2.045, allocations: 0.5537 MB / 0.9754 GB, free: 124.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001265/2.046, allocations: 0.719 MB / 0.9761 GB, free: 123.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006352/2.047, allocations: 311.1 kB / 0.9764 GB, free: 123.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01029/2.057, allocations: 5.94 MB / 0.9822 GB, free: 121.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.41e-07/2.057, allocations: 4 kB / 0.9822 GB, free: 121.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01291/2.07, allocations: 2.615 MB / 0.9847 GB, free: 121.2 MB / 0.545 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.02902/2.099, allocations: 50.49 MB / 1.034 GB, free: 73.19 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01612/2.116, allocations: 10.28 MB / 1.044 GB, free: 64.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.197e-05/2.116, allocations: 13.42 kB / 1.044 GB, free: 64.39 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00802/2.124, allocations: 5.393 MB / 1.049 GB, free: 59.71 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008397/2.132, allocations: 1.351 MB / 1.051 GB, free: 58.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4136/2.546, allocations: 148.4 MB / 1.196 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01082/2.557, allocations: 7.953 MB / 1.203 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00968/2.566, allocations: 3.576 MB / 1.207 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00729/2.574, allocations: 4.095 MB / 1.211 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.303e-06/2.574, allocations: 0 / 1.211 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4899/3.063, allocations: 183.6 MB / 1.39 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001449/3.064, allocations: 222.4 kB / 1.39 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.065/10.13, allocations: 7.438 kB / 1.39 GB, free: 142.1 MB / 0.5606 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