Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.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.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009645/0.0009645, allocations: 98.2 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009787/0.0009787, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2138/0.2138, allocations: 45.92 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002663/0.0002663, allocations: 8 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1401, allocations: 63.46 MB / 481.5 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.0195/0.1597, allocations: 18.24 MB / 499.8 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01417/0.1739, allocations: 5.283 MB / 0.4932 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005887/0.1798, allocations: 163.5 kB / 0.4934 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005418/0.1853, allocations: 1.088 MB / 0.4944 GB, free: 12.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009851/0.1952, allocations: 1.768 MB / 0.4961 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00605/0.2012, allocations: 1.46 MB / 0.4976 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.5531/0.7544, allocations: 9.261 MB / 0.5066 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05553/0.8099, allocations: 26.28 MB / 0.5323 GB, free: 6.719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01171/0.8217, allocations: 5.027 MB / 0.5372 GB, free: 6.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0113/0.8331, allocations: 5.642 MB / 0.5427 GB, free: 6.719 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004808/0.8379, allocations: 0.8297 MB / 0.5435 GB, free: 5.906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00745/0.8454, allocations: 1.037 MB / 0.5445 GB, free: 4.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005776/0.8512, allocations: 2.58 MB / 0.547 GB, free: 3.465 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005578/0.8569, allocations: 2.788 MB / 0.5498 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02848/0.8854, allocations: 24.04 MB / 0.5732 GB, free: 9.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.8854, allocations: 0 / 0.5732 GB, free: 9.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.8854, allocations: 3.938 kB / 0.5732 GB, free: 9.316 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0009341/0.8864, allocations: 0 / 0.5732 GB, free: 9.316 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.04942/0.9358, allocations: 15.66 MB / 0.5885 GB, free: 9.824 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.195e-05/0.9359, allocations: 8.031 kB / 0.5885 GB, free: 9.816 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01099/0.9469, allocations: 2.014 MB / 0.5905 GB, free: 7.805 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09479/1.042, allocations: 11.77 MB / 0.602 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02875/1.071, allocations: 8.448 MB / 0.6103 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002373/1.073, allocations: 1.058 MB / 0.6113 GB, free: 2.621 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009799/1.083, allocations: 1.373 MB / 0.6126 GB, free: 1.262 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07319/1.156, allocations: 23.36 MB / 0.6355 GB, free: 9.82 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008873/1.157, allocations: 21.44 kB / 0.6355 GB, free: 9.801 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007867/1.165, allocations: 0.5699 MB / 0.636 GB, free: 9.242 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009464/1.166, allocations: 0.7018 MB / 0.6367 GB, free: 8.539 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05673/1.223, allocations: 21.6 MB / 0.6578 GB, free: 2.918 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4823/1.705, allocations: 72.48 MB / 0.7286 GB, free: 119.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02619/1.731, allocations: 28.59 MB / 0.7565 GB, free: 98.46 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03394/1.765, allocations: 16.18 MB / 0.7723 GB, free: 92.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.635e-05/1.765, allocations: 85.27 kB / 0.7724 GB, free: 92.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 5.8e-06/1.765, allocations: 0 / 0.7724 GB, free: 92.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03731/1.803, allocations: 15.41 MB / 0.7874 GB, free: 86.76 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.409e-05/1.803, allocations: 130.5 kB / 0.7876 GB, free: 86.66 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009774/1.813, allocations: 5.003 MB / 0.7924 GB, free: 84.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00137/1.814, allocations: 107.3 kB / 0.7926 GB, free: 83.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.005939/1.82, allocations: 5.896 MB / 0.7983 GB, free: 78.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.004052/1.824, allocations: 1.58 MB / 0.7999 GB, free: 77.45 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009594/1.825, allocations: 152.3 kB / 0.8 GB, free: 77.33 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0006041/1.826, allocations: 0.6177 MB / 0.8006 GB, free: 76.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007676/1.833, allocations: 4.12 MB / 0.8046 GB, free: 74.64 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01163/1.845, allocations: 7.238 MB / 0.8117 GB, free: 68.21 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01068/1.856, allocations: 5.6 MB / 0.8172 GB, free: 65.16 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002023/1.856, allocations: 36.89 kB / 0.8172 GB, free: 65.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02877/1.885, allocations: 13.08 MB / 0.83 GB, free: 52.69 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003927/1.885, allocations: 52.92 kB / 0.83 GB, free: 52.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004413/1.886, allocations: 108 kB / 0.8301 GB, free: 52.53 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006546/1.892, allocations: 3.063 MB / 0.8331 GB, free: 49.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006367/1.899, allocations: 1.599 MB / 0.8347 GB, free: 47.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01575/1.915, allocations: 11.13 MB / 0.8455 GB, free: 36.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009687/1.924, allocations: 1.073 MB / 0.8466 GB, free: 35.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00246/1.927, allocations: 384 kB / 0.847 GB, free: 35.08 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 479 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (820): * Single equations (assignments): 817 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 30,20 28,20 28} Notification: Performance of prepare postOptimizeDAE: time 0.01497/1.942, allocations: 5.398 MB / 0.8522 GB, free: 29.66 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002597/1.944, allocations: 0.4899 MB / 0.8527 GB, free: 29.17 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02086/1.965, allocations: 9.591 MB / 0.8621 GB, free: 19.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.131e-05/1.965, allocations: 48 kB / 0.8621 GB, free: 19.49 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/1.965, allocations: 3.953 kB / 0.8621 GB, free: 19.49 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.714e-05/1.966, allocations: 23.91 kB / 0.8621 GB, free: 19.46 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04893/2.014, allocations: 20.59 MB / 0.8823 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.761e-05/2.015, allocations: 4 kB / 0.8823 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004199/2.019, allocations: 0.7294 MB / 0.883 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006463/2.025, allocations: 2.926 MB / 0.8858 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00106/2.026, allocations: 95.98 kB / 0.8859 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01636/2.043, allocations: 10.92 MB / 0.8966 GB, free: 24 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/2.043, allocations: 3.938 kB / 0.8966 GB, free: 20 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02442/2.067, allocations: 14.13 MB / 0.9104 GB, free: 1.844 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00457/2.072, allocations: 1.321 MB / 0.9117 GB, free: 0.4961 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001599/2.073, allocations: 83.95 kB / 0.9118 GB, free: 424 kB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003615/2.077, allocations: 391.6 kB / 0.9121 GB, free: 32 kB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008475/2.078, allocations: 335.9 kB / 0.9124 GB, free: 15.7 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003237/2.078, allocations: 135.9 kB / 0.9126 GB, free: 15.57 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006443/2.085, allocations: 3.337 MB / 0.9158 GB, free: 12.24 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.8e-07/2.085, allocations: 4 kB / 0.9158 GB, free: 12.23 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01416/2.099, allocations: 3.257 MB / 0.919 GB, free: 8.961 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 30,20 28,20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.3554/2.454, allocations: 14.9 MB / 0.9336 GB, free: 182.3 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.02273/2.477, allocations: 10.43 MB / 0.9438 GB, free: 179.5 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/2.477, allocations: 4.812 kB / 0.9438 GB, free: 179.5 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.009183/2.486, allocations: 5.027 MB / 0.9487 GB, free: 177.6 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005659/2.492, allocations: 1.132 MB / 0.9498 GB, free: 177.3 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1279/2.62, allocations: 139.6 MB / 1.086 GB, free: 60.23 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01303/2.633, allocations: 9.246 MB / 1.095 GB, free: 51.31 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.008795/2.642, allocations: 2.881 MB / 1.098 GB, free: 48.43 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007094/2.649, allocations: 4.678 MB / 1.102 GB, free: 43.75 MB / 0.5763 GB Notification: Performance of SimCode: time 9.22e-07/2.649, allocations: 0 / 1.102 GB, free: 43.75 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4963/3.145, allocations: 171 MB / 1.269 GB, free: 88.41 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/3.146, allocations: 216.8 kB / 1.27 GB, free: 88.17 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.91/9.055, allocations: 3.938 kB / 1.27 GB, free: 88.16 MB / 0.5763 GB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat does not exist to compare? outputFormat=mat