Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007595/0.0007598, allocations: 102.2 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008642/0.0008642, allocations: 191.7 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2279/0.2279, allocations: 45.92 MB / 344.1 MB, free: 12.02 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002483/0.0002486, allocations: 8 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1203, allocations: 63.47 MB / 481.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01756/0.1379, allocations: 17.08 MB / 498.7 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01168/0.1496, allocations: 4.582 MB / 0.4915 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003874/0.1535, allocations: 147.6 kB / 0.4916 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004337/0.1579, allocations: 0.8734 MB / 0.4925 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007214/0.1651, allocations: 1.776 MB / 0.4942 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003898/0.169, allocations: 1.066 MB / 0.4953 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01512/0.1842, allocations: 11.57 MB / 0.5066 GB, free: 44 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2926/0.4768, allocations: 21.32 MB / 0.5274 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00864/0.4855, allocations: 4.538 MB / 0.5318 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009088/0.4947, allocations: 5.169 MB / 0.5369 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002695/0.4974, allocations: 0.6804 MB / 0.5375 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004316/0.5017, allocations: 0.8645 MB / 0.5384 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002902/0.5046, allocations: 2.281 MB / 0.5406 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003511/0.5082, allocations: 2.335 MB / 0.5429 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01997/0.5281, allocations: 19.83 MB / 0.5623 GB, free: 5.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.5282, allocations: 0 / 0.5623 GB, free: 5.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.568e-06/0.5282, allocations: 0 / 0.5623 GB, free: 5.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0008076/0.529, allocations: 2.734 kB / 0.5623 GB, free: 5.25 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.03315/0.5622, allocations: 11.97 MB / 0.574 GB, free: 9.355 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.5623, allocations: 8.031 kB / 0.574 GB, free: 9.348 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006383/0.5687, allocations: 1.725 MB / 0.5756 GB, free: 7.625 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05758/0.6263, allocations: 11.48 MB / 0.5869 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01506/0.6414, allocations: 7.007 MB / 0.5937 GB, free: 5.566 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009211/0.6423, allocations: 0.8829 MB / 0.5946 GB, free: 4.691 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004653/0.647, allocations: 1.17 MB / 0.5957 GB, free: 3.535 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05508/0.7021, allocations: 18.46 MB / 0.6137 GB, free: 1.051 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005479/0.7027, allocations: 30.05 kB / 0.6138 GB, free: 1.023 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004096/0.7068, allocations: 489.5 kB / 0.6142 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007662/0.7076, allocations: 0.6578 MB / 0.6149 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0435/0.7511, allocations: 18.98 MB / 0.6334 GB, free: 12.89 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.139/0.8901, allocations: 61.07 MB / 0.6931 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.583/1.473, allocations: 16.57 MB / 0.7092 GB, free: 149.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008961/1.482, allocations: 4.501 MB / 0.7136 GB, free: 149.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008719/1.483, allocations: 317.2 kB / 0.7139 GB, free: 149.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001308/1.483, allocations: 110.1 kB / 0.714 GB, free: 149.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 2.448e-05/1.483, allocations: 0 / 0.714 GB, free: 149.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.02362/1.507, allocations: 12.31 MB / 0.7261 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/1.507, allocations: 119.5 kB / 0.7262 GB, free: 146 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01193/1.519, allocations: 8.553 MB / 0.7345 GB, free: 143.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001364/1.52, allocations: 129.4 kB / 0.7347 GB, free: 143.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003852/1.524, allocations: 4.494 MB / 0.739 GB, free: 139.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002783/1.527, allocations: 2.185 MB / 0.7412 GB, free: 138.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004315/1.527, allocations: 155.8 kB / 0.7413 GB, free: 138.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003246/1.528, allocations: 0.6183 MB / 0.7419 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005544/1.533, allocations: 4.073 MB / 0.7459 GB, free: 136.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008186/1.542, allocations: 6.885 MB / 0.7526 GB, free: 131.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008174/1.55, allocations: 5.572 MB / 0.7581 GB, free: 129.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.493e-05/1.55, allocations: 23.34 kB / 0.7581 GB, free: 129.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02677/1.577, allocations: 11.95 MB / 0.7698 GB, free: 124.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001727/1.577, allocations: 54.08 kB / 0.7698 GB, free: 124.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000226/1.577, allocations: 96.89 kB / 0.7699 GB, free: 124.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/1.578, allocations: 417.6 kB / 0.7703 GB, free: 124 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008093/1.586, allocations: 2.001 MB / 0.7723 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006675/1.593, allocations: 8.922 MB / 0.781 GB, free: 113.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009004/1.602, allocations: 1.351 MB / 0.7823 GB, free: 111.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002195/1.604, allocations: 375.1 kB / 0.7827 GB, free: 111.5 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.01208/1.616, allocations: 4.578 MB / 0.7871 GB, free: 107.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002885/1.619, allocations: 0.706 MB / 0.7878 GB, free: 107 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02488/1.644, allocations: 10.6 MB / 0.7982 GB, free: 96.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.646e-05/1.644, allocations: 71.84 kB / 0.7982 GB, free: 96.33 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.194e-05/1.644, allocations: 0 / 0.7982 GB, free: 96.33 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001624/1.645, allocations: 31.88 kB / 0.7983 GB, free: 96.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.537/2.182, allocations: 161.4 MB / 0.9559 GB, free: 159.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0005301/2.182, allocations: 86.62 kB / 0.956 GB, free: 159.4 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009061/2.191, allocations: 1.546 MB / 0.9575 GB, free: 159.3 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001357/2.193, allocations: 393.8 kB / 0.9579 GB, free: 159.2 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00161/2.194, allocations: 245.7 kB / 0.9581 GB, free: 159.1 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007499/2.202, allocations: 8.786 MB / 0.9667 GB, free: 151 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001076/2.202, allocations: 133 kB / 0.9668 GB, free: 151 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03493/2.237, allocations: 18.48 MB / 0.9848 GB, free: 140 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007277/2.244, allocations: 2.032 MB / 0.9868 GB, free: 139.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002529/2.247, allocations: 240.2 kB / 0.987 GB, free: 139.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006415/2.253, allocations: 0.5627 MB / 0.9876 GB, free: 139 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001722/2.255, allocations: 0.7252 MB / 0.9883 GB, free: 138.7 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006764/2.256, allocations: 300.6 kB / 0.9886 GB, free: 138.7 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.01137/2.267, allocations: 5.994 MB / 0.9944 GB, free: 134.1 MB / 0.5607 GB Notification: Performance of sort global known variables: time 8.11e-07/2.267, allocations: 3.938 kB / 0.9945 GB, free: 134.1 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01113/2.278, allocations: 2.625 MB / 0.997 GB, free: 131.4 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.02374/2.302, allocations: 19.38 MB / 1.016 GB, free: 111.2 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01652/2.318, allocations: 10.33 MB / 1.026 GB, free: 100.8 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 0.00011/2.319, allocations: 16 kB / 1.026 GB, free: 100.8 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.00895/2.328, allocations: 5.424 MB / 1.031 GB, free: 95.3 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01353/2.341, allocations: 1.48 MB / 1.033 GB, free: 93.84 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1607/2.502, allocations: 86.87 MB / 1.118 GB, free: 1.219 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01382/2.516, allocations: 7.779 MB / 1.125 GB, free: 9.402 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.012/2.528, allocations: 3.566 MB / 1.129 GB, free: 5.824 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01052/2.538, allocations: 4.143 MB / 1.133 GB, free: 1.68 MB / 0.5763 GB Notification: Performance of SimCode: time 1.333e-06/2.538, allocations: 0 / 1.133 GB, free: 1.68 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5831/3.121, allocations: 184.4 MB / 1.313 GB, free: 35.42 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/3.122, allocations: 226.2 kB / 1.313 GB, free: 35.18 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.785/9.907, allocations: 4.062 kB / 1.313 GB, free: 35.18 MB / 0.5763 GB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat does not exist to compare? outputFormat=mat