Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001446/0.001446, allocations: 109 kB / 19.74 MB, free: 2.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001597/0.001597, allocations: 217.6 kB / 22.92 MB, free: 5.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.306/1.306, allocations: 230.4 MB / 256.4 MB, free: 8.277 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 67.89 kB / 376.1 MB, free: 4.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2141, allocations: 53.31 MB / 429.4 MB, free: 7.574 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004838/0.219, allocations: 3.833 MB / 433.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.2208, allocations: 1.079 MB / 434.3 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001971/0.221, allocations: 19.94 kB / 434.3 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000309/0.2213, allocations: 162.8 kB / 434.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006944/0.222, allocations: 318.3 kB / 434.8 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.2222, allocations: 123.8 kB / 434.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001327/0.2235, allocations: 1.416 MB / 436.3 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007898/0.2243, allocations: 0.6548 MB / 437 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006925/0.225, allocations: 0.6503 MB / 437.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009779/0.226, allocations: 0.7978 MB / 438.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002009/0.2262, allocations: 160 kB / 438.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002728/0.2265, allocations: 164 kB / 438.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004057/0.2269, allocations: 478.6 kB / 439.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007241/0.2276, allocations: 0.735 MB / 440 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001806/0.2294, allocations: 2.087 MB / 442 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2294, allocations: 0 / 442 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2294, allocations: 0 / 442 MB, free: 10.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.2294, allocations: 0 / 442 MB, free: 10.85 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002689/0.2321, allocations: 1.725 MB / 443.8 MB, free: 9.066 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.2321, allocations: 8.031 kB / 443.8 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000211/0.2324, allocations: 181.3 kB / 443.9 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000457/0.2328, allocations: 180 kB / 444.1 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.2341, allocations: 0.9207 MB / 445 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.726e-05/0.2341, allocations: 86.19 kB / 445.1 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.2343, allocations: 112 kB / 445.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/0.2365, allocations: 1.576 MB / 446.8 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.2365, allocations: 3.938 kB / 446.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.2366, allocations: 44 kB / 446.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.2367, allocations: 28 kB / 446.9 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/0.2386, allocations: 1.328 MB / 448.2 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005856/0.2445, allocations: 4.28 MB / 452.5 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.2457, allocations: 1.3 MB / 453.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008269/0.2465, allocations: 499.5 kB / 454.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.2465, allocations: 8.438 kB / 454.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.2466, allocations: 43 kB / 454.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 1.563e-06/0.2466, allocations: 0 / 454.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001394/0.248, allocations: 0.881 MB / 455.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.248, allocations: 59.84 kB / 455.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009892/0.249, allocations: 0.8282 MB / 456.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.249, allocations: 37.7 kB / 456.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000396/0.2494, allocations: 0.5623 MB / 456.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.2496, allocations: 186.4 kB / 456.9 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.2497, allocations: 106.2 kB / 457 MB, free: 11.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.2499, allocations: 386.8 kB / 457.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004525/0.2504, allocations: 300.9 kB / 457.7 MB, free: 10.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005042/0.2509, allocations: 398.5 kB / 458 MB, free: 10.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009567/0.2518, allocations: 0.6825 MB / 458.7 MB, free: 9.547 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.2518, allocations: 7.938 kB / 458.7 MB, free: 9.539 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001187/0.253, allocations: 0.8262 MB / 459.6 MB, free: 8.703 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.253, allocations: 10.97 kB / 459.6 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.253, allocations: 0 / 459.6 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.2531, allocations: 8 kB / 459.6 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005718/0.2536, allocations: 148.1 kB / 459.7 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.2537, allocations: 11.94 kB / 459.7 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.254, allocations: 63.59 kB / 459.8 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.254, allocations: 16 kB / 459.8 MB, free: 8.453 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005473/0.2546, allocations: 465.4 kB / 460.3 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.2547, allocations: 75.53 kB / 460.3 MB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001674/0.2548, allocations: 95.08 kB / 460.4 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2549, allocations: 8 kB / 460.4 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.2549, allocations: 3.938 kB / 460.4 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.2549, allocations: 7.984 kB / 460.5 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002732/0.2576, allocations: 1.946 MB / 462.4 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.2576, allocations: 4 kB / 462.4 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004636/0.2581, allocations: 111.9 kB / 462.5 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.2581, allocations: 4 kB / 462.5 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.604e-05/0.2581, allocations: 16.16 kB / 462.5 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.2581, allocations: 11.94 kB / 462.5 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2581, allocations: 0 / 462.5 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.2597, allocations: 1.126 MB / 463.7 MB, free: 4.477 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002226/0.2599, allocations: 180.5 kB / 463.8 MB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.586e-05/0.2599, allocations: 12 kB / 463.9 MB, free: 4.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.2603, allocations: 51.94 kB / 463.9 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.825e-05/0.2604, allocations: 44.27 kB / 464 MB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.2604, allocations: 16 kB / 464 MB, free: 4.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007322/0.2612, allocations: 0.5927 MB / 464.6 MB, free: 3.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2612, allocations: 3.938 kB / 464.6 MB, free: 3.566 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006439/0.2618, allocations: 287.1 kB / 464.8 MB, free: 3.285 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].i) * 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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001859/0.2637, allocations: 1.689 MB / 466.5 MB, free: 1.555 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009769/0.2647, allocations: 0.6263 MB / 467.2 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2647, allocations: 0 / 467.2 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000436/0.2651, allocations: 315 kB / 467.5 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007905/0.2659, allocations: 186.7 kB / 467.7 MB, free: 452 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.2769, allocations: 8.552 MB / 476.2 MB, free: 7.707 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009492/0.2779, allocations: 1.34 MB / 477.5 MB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004703/0.2784, allocations: 213.8 kB / 477.8 MB, free: 6.125 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004921/0.2788, allocations: 387.3 kB / 478.1 MB, free: 5.746 MB / 382.1 MB Notification: Performance of SimCode: time 8.81e-07/0.2788, allocations: 3.938 kB / 478.1 MB, free: 5.742 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04891/0.3278, allocations: 19.3 MB / 497.4 MB, free: 2.656 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.166/8.493, allocations: 10.22 kB / 497.4 MB, free: 2.652 MB / 398.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TransformerYD.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.623286180001742]