Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.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.00138/0.00138, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001529/0.001529, allocations: 214.7 kB / 22.92 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.29/1.29, allocations: 230.2 MB / 256.2 MB, free: 8.586 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1958/0.1958, allocations: 46.89 MB / 359.3 MB, free: 4.953 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.SingularTransformer,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.002256/0.002256, allocations: 83.86 kB / 0.4939 GB, free: 9.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2746, allocations: 65.98 MB / 0.5584 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004346/0.2789, allocations: 2.598 MB / 0.5609 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.2801, allocations: 0.6738 MB / 0.5616 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.2803, allocations: 4 kB / 0.5616 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.2805, allocations: 43.56 kB / 0.5616 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001644/0.2806, allocations: 75.36 kB / 0.5617 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.2809, allocations: 79.83 kB / 0.5618 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000331/0.2812, allocations: 290.8 kB / 0.562 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.2814, allocations: 74.19 kB / 0.5621 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.2816, allocations: 115.6 kB / 0.5622 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.2818, allocations: 123.5 kB / 0.5623 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.866e-05/0.2819, allocations: 24 kB / 0.5624 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.891e-05/0.2819, allocations: 27.94 kB / 0.5624 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.33e-05/0.282, allocations: 51.84 kB / 0.5624 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.2821, allocations: 127.4 kB / 0.5626 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003224/0.2824, allocations: 290.8 kB / 0.5628 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2824, allocations: 0 / 0.5628 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2824, allocations: 0 / 0.5628 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.2824, allocations: 0 / 0.5628 GB, free: 0.6172 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0007676/0.2832, allocations: 0.5455 MB / 0.5634 GB, free: 20 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.2832, allocations: 8.031 kB / 0.5634 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.138e-05/0.2833, allocations: 58.73 kB / 0.5634 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.2835, allocations: 36.78 kB / 0.5635 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.2838, allocations: 255.9 kB / 0.5637 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.2838, allocations: 12.81 kB / 0.5637 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.2838, allocations: 28.31 kB / 0.5638 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.2842, allocations: 195.3 kB / 0.5639 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.2842, allocations: 0 / 0.5639 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.2842, allocations: 15.98 kB / 0.564 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.2842, allocations: 4 kB / 0.564 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002757/0.2845, allocations: 137.7 kB / 0.5641 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.2857, allocations: 0.8105 MB / 0.5649 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.2859, allocations: 94.48 kB / 0.565 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.916e-05/0.286, allocations: 44.84 kB / 0.565 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.286, allocations: 4 kB / 0.565 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.286, allocations: 38.69 kB / 0.5651 GB, free: 14.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.286, allocations: 0 / 0.5651 GB, free: 14.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001637/0.2876, allocations: 0.7139 MB / 0.5658 GB, free: 13.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.2877, allocations: 59.34 kB / 0.5658 GB, free: 13.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.2879, allocations: 214.9 kB / 0.566 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.2879, allocations: 29.7 kB / 0.566 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.288, allocations: 176.1 kB / 0.5662 GB, free: 12.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.026e-05/0.2881, allocations: 47.59 kB / 0.5663 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.859e-05/0.2881, allocations: 45.66 kB / 0.5663 GB, free: 12.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.2883, allocations: 330.8 kB / 0.5666 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.2884, allocations: 63.95 kB / 0.5667 GB, free: 12.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.2886, allocations: 105.1 kB / 0.5668 GB, free: 12.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.2888, allocations: 177 kB / 0.5669 GB, free: 12.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2889, allocations: 4 kB / 0.567 GB, free: 12.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005085/0.2894, allocations: 277.3 kB / 0.5672 GB, free: 11.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.2894, allocations: 8 kB / 0.5672 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.2894, allocations: 0.6562 kB / 0.5672 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002181/0.2896, allocations: 73.61 kB / 0.5673 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.2898, allocations: 31.97 kB / 0.5673 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/0.2921, allocations: 3.018 MB / 0.5703 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.2922, allocations: 12.02 kB / 0.5703 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.2923, allocations: 8 kB / 0.5703 GB, free: 8.344 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001259/0.2924, allocations: 141.8 kB / 0.5704 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.2924, allocations: 23.84 kB / 0.5704 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.137e-05/0.2925, allocations: 21.86 kB / 0.5705 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.2925, allocations: 4 kB / 0.5705 GB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2925, allocations: 3.938 kB / 0.5705 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2925, allocations: 0 / 0.5705 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.2928, allocations: 293.4 kB / 0.5708 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2928, allocations: 0 / 0.5708 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.814e-05/0.2929, allocations: 20.17 kB / 0.5708 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001816/0.293, allocations: 69.67 kB / 0.5708 GB, free: 7.711 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.2931, allocations: 4 kB / 0.5708 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002234/0.2953, allocations: 3.009 MB / 0.5738 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2953, allocations: 192 / 0.5738 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006054/0.2959, allocations: 405.6 kB / 0.5742 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.296, allocations: 93 kB / 0.5743 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.296, allocations: 8 kB / 0.5743 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.2961, allocations: 15.98 kB / 0.5743 GB, free: 3.875 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.282e-05/0.2962, allocations: 24.03 kB / 0.5743 GB, free: 3.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.2962, allocations: 4 kB / 0.5743 GB, free: 3.848 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.2963, allocations: 148.6 kB / 0.5745 GB, free: 3.703 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2963, allocations: 0 / 0.5745 GB, free: 3.703 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00032/0.2967, allocations: 64 kB / 0.5745 GB, free: 3.641 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008727/0.2975, allocations: 0.9285 MB / 0.5754 GB, free: 2.676 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006092/0.2981, allocations: 405.2 kB / 0.5758 GB, free: 2.254 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.2981, allocations: 0 / 0.5758 GB, free: 2.254 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004084/0.2986, allocations: 317.3 kB / 0.5761 GB, free: 1.918 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.2988, allocations: 23.98 kB / 0.5761 GB, free: 1.895 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.3019, allocations: 2.493 MB / 0.5786 GB, free: 15.28 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.3022, allocations: 0.7518 MB / 0.5793 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.803e-05/0.3023, allocations: 21.94 kB / 0.5793 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.375e-05/0.3024, allocations: 67.41 kB / 0.5794 GB, free: 14.41 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3024, allocations: 0 / 0.5794 GB, free: 14.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03425/0.3366, allocations: 5.06 MB / 0.5843 GB, free: 9.457 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.934/9.271, allocations: 3.25 kB / 0.5843 GB, free: 9.457 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_SingularTransformer.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.731465101009235]