Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_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.0008747/0.0008751, allocations: 96.52 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008923/0.0008923, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2034/0.2034, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000283/0.000283, allocations: 11.94 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1303, allocations: 63.46 MB / 481.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.01024/0.1405, allocations: 6.45 MB / 488.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006086/0.1467, allocations: 2.164 MB / 490.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.1478, allocations: 27.94 kB / 490.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.1489, allocations: 254.5 kB / 490.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002351/0.1512, allocations: 0.5945 MB / 491.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001868/0.1531, allocations: 0.6071 MB / 491.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00201/0.1551, allocations: 1.136 MB / 492.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003833/0.159, allocations: 1.504 MB / 494.4 MB, free: 8.488 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009515/0.16, allocations: 434.2 kB / 494.8 MB, free: 8.062 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008603/0.1608, allocations: 0.564 MB / 495.4 MB, free: 7.496 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.161, allocations: 52 kB / 495.4 MB, free: 7.445 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000862/0.1618, allocations: 235.8 kB / 495.6 MB, free: 7.215 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002387/0.1621, allocations: 203 kB / 495.8 MB, free: 7.016 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000306/0.1624, allocations: 233.1 kB / 496.1 MB, free: 6.781 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.1642, allocations: 1.2 MB / 497.3 MB, free: 5.578 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1642, allocations: 0 / 497.3 MB, free: 5.578 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1642, allocations: 0 / 497.3 MB, free: 5.578 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.1642, allocations: 0 / 497.3 MB, free: 5.578 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.005759/0.17, allocations: 1.593 MB / 498.9 MB, free: 3.934 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.1701, allocations: 8.031 kB / 498.9 MB, free: 3.926 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003609/0.1704, allocations: 194.5 kB / 499.1 MB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01398/0.1844, allocations: 1.345 MB / 0.4887 GB, free: 2.379 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.186, allocations: 0.5402 MB / 0.4892 GB, free: 1.797 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/0.1862, allocations: 98.66 kB / 0.4893 GB, free: 1.699 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003039/0.1866, allocations: 135.9 kB / 0.4894 GB, free: 1.566 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002935/0.1895, allocations: 1.238 MB / 0.4906 GB, free: 312 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.504e-05/0.1896, allocations: 4 kB / 0.4906 GB, free: 308 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.1897, allocations: 52 kB / 0.4907 GB, free: 256 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.796e-05/0.1897, allocations: 32 kB / 0.4907 GB, free: 224 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002623/0.1924, allocations: 1.451 MB / 0.4921 GB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008891/0.2013, allocations: 5.862 MB / 0.4979 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/0.2032, allocations: 0.9497 MB / 0.4988 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005844/0.2038, allocations: 367.7 kB / 0.4991 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001884/0.204, allocations: 183.2 kB / 0.4993 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/0.2041, allocations: 51.56 kB / 0.4994 GB, free: 6.789 MB / 382.1 MB Notification: Performance of pre-optimization done (n=90): time 2.635e-06/0.2041, allocations: 0 / 0.4994 GB, free: 6.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=90): time 0.002375/0.2065, allocations: 1.21 MB / 0.5005 GB, free: 5.531 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.2065, allocations: 60.41 kB / 0.5006 GB, free: 5.461 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.2077, allocations: 0.8169 MB / 0.5014 GB, free: 4.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.445e-05/0.2078, allocations: 41.7 kB / 0.5014 GB, free: 4.586 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003733/0.2082, allocations: 0.4986 MB / 0.5019 GB, free: 4.078 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002704/0.2084, allocations: 311.5 kB / 0.5022 GB, free: 3.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-05/0.2085, allocations: 20 kB / 0.5022 GB, free: 3.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002186/0.2087, allocations: 402.7 kB / 0.5026 GB, free: 3.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006286/0.2094, allocations: 342.5 kB / 0.503 GB, free: 3.016 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008663/0.2102, allocations: 0.6187 MB / 0.5036 GB, free: 2.281 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007603/0.211, allocations: 442.8 kB / 0.504 GB, free: 1.848 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.211, allocations: 0 / 0.504 GB, free: 1.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002018/0.2131, allocations: 1.189 MB / 0.5051 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.2131, allocations: 8 kB / 0.5051 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.2131, allocations: 8.562 kB / 0.5052 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002694/0.2134, allocations: 73.67 kB / 0.5052 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009616/0.2144, allocations: 259.6 kB / 0.5055 GB, free: 304 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2758/0.4902, allocations: 2.626 MB / 0.508 GB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.4913, allocations: 159.7 kB / 0.5082 GB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.4914, allocations: 47.72 kB / 0.5082 GB, free: 36.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 139 * 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 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004447/0.4919, allocations: 266 kB / 0.5085 GB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.492, allocations: 89.88 kB / 0.5086 GB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.4943, allocations: 1.117 MB / 0.5097 GB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.4944, allocations: 9.844 kB / 0.5097 GB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.4944, allocations: 1.281 kB / 0.5097 GB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.77e-05/0.4944, allocations: 5.109 kB / 0.5097 GB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004075/0.4985, allocations: 3.161 MB / 0.5128 GB, free: 34.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.4985, allocations: 5.719 kB / 0.5128 GB, free: 34.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007202/0.4992, allocations: 182.2 kB / 0.5129 GB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002087/0.4995, allocations: 67.09 kB / 0.513 GB, free: 34.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.748e-05/0.4995, allocations: 26.3 kB / 0.513 GB, free: 34.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001384/0.5009, allocations: 2.629 MB / 0.5156 GB, free: 31.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.5009, allocations: 10.56 kB / 0.5156 GB, free: 31.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/0.5031, allocations: 1.48 MB / 0.5171 GB, free: 31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002906/0.5034, allocations: 215.6 kB / 0.5173 GB, free: 30.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.5035, allocations: 25.78 kB / 0.5173 GB, free: 30.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005938/0.5041, allocations: 59.19 kB / 0.5173 GB, free: 30.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.5043, allocations: 80.39 kB / 0.5174 GB, free: 30.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.893e-05/0.5043, allocations: 32.64 kB / 0.5175 GB, free: 30.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008048/0.5052, allocations: 0.57 MB / 0.518 GB, free: 30.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5052, allocations: 0 / 0.518 GB, free: 30.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001113/0.5063, allocations: 316.9 kB / 0.5183 GB, free: 30.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_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 (93): * Single equations (assignments): 91 * 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 {(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.002448/0.5087, allocations: 2.09 MB / 0.5204 GB, free: 28.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00202/0.5108, allocations: 1.085 MB / 0.5214 GB, free: 28.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.5108, allocations: 4.812 kB / 0.5214 GB, free: 28.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009483/0.5118, allocations: 0.6232 MB / 0.522 GB, free: 28.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008955/0.5127, allocations: 127.8 kB / 0.5221 GB, free: 27.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009509/0.5222, allocations: 5.743 MB / 0.5278 GB, free: 24.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006768/0.5229, allocations: 1.016 MB / 0.5287 GB, free: 23.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007475/0.5237, allocations: 153.8 kB / 0.5289 GB, free: 23.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004944/0.5242, allocations: 382 kB / 0.5293 GB, free: 23.53 MB / 382.1 MB Notification: Performance of SimCode: time 1.212e-06/0.5242, allocations: 0 / 0.5293 GB, free: 23.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03724/0.5614, allocations: 18.05 MB / 0.5469 GB, free: 12.48 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/0.5616, allocations: 230 kB / 0.5471 GB, free: 12.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/2.922, allocations: 0 / 0.5471 GB, free: 12.23 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat