Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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.001427/0.001427, allocations: 105 kB / 19.74 MB, free: 2.566 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.001548/0.001548, allocations: 216.9 kB / 22.92 MB, free: 5.535 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.3/1.3, allocations: 230.4 MB / 256.4 MB, free: 8.426 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.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",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.001783/0.001783, allocations: 67.88 kB / 376.1 MB, free: 4.066 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2203, allocations: 53.32 MB / 429.4 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006753/0.227, allocations: 5.654 MB / 435.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003268/0.2303, allocations: 1.9 MB / 437 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002687/0.2305, allocations: 23.94 kB / 437 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003306/0.2339, allocations: 1.613 MB / 438.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001299/0.2352, allocations: 0.6091 MB / 439.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007733/0.2359, allocations: 406.9 kB / 439.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008129/0.2367, allocations: 0.8017 MB / 440.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.2378, allocations: 0.6728 MB / 441.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004291/0.2382, allocations: 362.6 kB / 441.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000543/0.2387, allocations: 486.2 kB / 441.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.2388, allocations: 83.94 kB / 442 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004802/0.2393, allocations: 239.8 kB / 442.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.2394, allocations: 187.3 kB / 442.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003664/0.2398, allocations: 417.9 kB / 442.8 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.2411, allocations: 1.183 MB / 444 MB, free: 8.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2411, allocations: 0 / 444 MB, free: 8.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2411, allocations: 0 / 444 MB, free: 8.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.2411, allocations: 4 kB / 444 MB, free: 8.727 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003134/0.2442, allocations: 1.368 MB / 445.4 MB, free: 7.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.2443, allocations: 12.03 kB / 445.4 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000152/0.2444, allocations: 148.3 kB / 445.5 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004358/0.2488, allocations: 0.6208 MB / 446.1 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00065/0.2494, allocations: 419.2 kB / 446.6 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.843e-05/0.2495, allocations: 66.38 kB / 446.6 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.2496, allocations: 100.4 kB / 446.7 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.2512, allocations: 0.9938 MB / 447.7 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.2513, allocations: 0 / 447.7 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.623e-05/0.2513, allocations: 43.98 kB / 447.8 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.2514, allocations: 24 kB / 447.8 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001584/0.2529, allocations: 0.9291 MB / 448.7 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004454/0.2574, allocations: 3.435 MB / 452.1 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002474/0.2599, allocations: 2.188 MB / 454.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004238/0.2603, allocations: 252.2 kB / 454.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001814/0.2605, allocations: 186.7 kB / 454.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.2605, allocations: 43.06 kB / 454.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.935e-06/0.2605, allocations: 0 / 454.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001403/0.2619, allocations: 0.7291 MB / 455.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/0.262, allocations: 111.4 kB / 455.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/0.2623, allocations: 274.5 kB / 455.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.2623, allocations: 37.7 kB / 455.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/0.2626, allocations: 391.9 kB / 456.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.2627, allocations: 234 kB / 456.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.2629, allocations: 138.6 kB / 456.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2631, allocations: 350.9 kB / 457 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003922/0.2635, allocations: 221.9 kB / 457.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005634/0.264, allocations: 435.3 kB / 457.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.2651, allocations: 0.7028 MB / 458.4 MB, free: 9.371 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.2651, allocations: 4 kB / 458.4 MB, free: 9.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00127/0.2664, allocations: 0.7567 MB / 459.1 MB, free: 8.602 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.2664, allocations: 11.94 kB / 459.1 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.2664, allocations: 12 kB / 459.2 MB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.2664, allocations: 8 kB / 459.2 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006556/0.2671, allocations: 191.7 kB / 459.4 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.151e-05/0.2671, allocations: 19.92 kB / 459.4 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/0.2675, allocations: 79.41 kB / 459.4 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.203e-05/0.2675, allocations: 32.05 kB / 459.5 MB, free: 8.254 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (98): * Single equations (assignments): 98 * 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.0002679/0.2678, allocations: 225.5 kB / 459.7 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.2679, allocations: 43.7 kB / 459.7 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.2691, allocations: 0.6518 MB / 460.4 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.2691, allocations: 8 kB / 460.4 MB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2691, allocations: 0 / 460.4 MB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.2691, allocations: 7.984 kB / 460.4 MB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/0.2714, allocations: 1.477 MB / 461.9 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.2714, allocations: 0 / 461.9 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005528/0.272, allocations: 139.8 kB / 462 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.272, allocations: 4 kB / 462 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/0.272, allocations: 20 kB / 462 MB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.272, allocations: 3.938 kB / 462.1 MB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.272, allocations: 4 kB / 462.1 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.2736, allocations: 1.127 MB / 463.2 MB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.2737, allocations: 120.8 kB / 463.3 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.578e-05/0.2738, allocations: 19.98 kB / 463.3 MB, free: 4.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/0.2741, allocations: 19.94 kB / 463.3 MB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.94e-05/0.2742, allocations: 40.5 kB / 463.4 MB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.952e-05/0.2742, allocations: 27.98 kB / 463.4 MB, free: 4.223 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001749/0.2744, allocations: 182 kB / 463.6 MB, free: 4.043 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2744, allocations: 0 / 463.6 MB, free: 4.043 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006978/0.2751, allocations: 227.4 kB / 463.8 MB, free: 3.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.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 (72): * Single equations (assignments): 72 * 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.001941/0.277, allocations: 1.722 MB / 465.5 MB, free: 2.074 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.2781, allocations: 0.5756 MB / 466.1 MB, free: 1.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2781, allocations: 3.938 kB / 466.1 MB, free: 1.496 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004269/0.2785, allocations: 271.3 kB / 466.4 MB, free: 1.234 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/0.279, allocations: 48.56 kB / 466.4 MB, free: 1.188 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006067/0.285, allocations: 4.836 MB / 471.3 MB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/0.2855, allocations: 0.9007 MB / 472.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002584/0.2858, allocations: 76.39 kB / 472.2 MB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003291/0.2861, allocations: 263.3 kB / 472.5 MB, free: 10.83 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.2861, allocations: 0 / 472.5 MB, free: 10.83 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03728/0.3234, allocations: 9.762 MB / 482.2 MB, free: 1.168 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.493/7.816, allocations: 4.641 kB / 482.3 MB, free: 1.164 MB / 382.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.855744182001217]