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.001827/0.001827, allocations: 105.7 kB / 20.42 MB, free: 1.684 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.001489/0.001489, allocations: 213.5 kB / 23.72 MB, free: 5.055 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.512/1.512, allocations: 230.2 MB / 257.1 MB, free: 8.473 MB / 206.1 MB " [Timeout remaining time 178] 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.2702/0.2702, allocations: 46.89 MB / 360.3 MB, free: 4.625 MB / 286.1 MB " [Timeout remaining time 179] 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.002322/0.002322, allocations: 83.86 kB / 0.4955 GB, free: 8.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3956, allocations: 65.99 MB / 0.5599 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004081/0.3996, allocations: 2.605 MB / 0.5625 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.4009, allocations: 0.6739 MB / 0.5632 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.4011, allocations: 8 kB / 0.5632 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.4012, allocations: 39.58 kB / 0.5632 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.4014, allocations: 75.33 kB / 0.5633 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.4017, allocations: 75.84 kB / 0.5633 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003484/0.402, allocations: 294.8 kB / 0.5636 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.4022, allocations: 74.14 kB / 0.5637 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002488/0.4024, allocations: 119.6 kB / 0.5638 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002419/0.4027, allocations: 115.5 kB / 0.5639 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.791e-05/0.4027, allocations: 23.94 kB / 0.5639 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.202e-05/0.4028, allocations: 32 kB / 0.564 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.4029, allocations: 47.83 kB / 0.564 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.403, allocations: 131.3 kB / 0.5641 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004521/0.4035, allocations: 282.8 kB / 0.5644 GB, free: 348 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4035, allocations: 0 / 0.5644 GB, free: 348 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4035, allocations: 4 kB / 0.5644 GB, free: 344 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.4035, allocations: 3.938 kB / 0.5644 GB, free: 340 kB / 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.000969/0.4044, allocations: 0.5416 MB / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.4045, allocations: 12.03 kB / 0.565 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.287e-05/0.4046, allocations: 58.73 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/0.4047, allocations: 32.78 kB / 0.565 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004384/0.4052, allocations: 263.9 kB / 0.5653 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.4052, allocations: 16.81 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.304e-05/0.4053, allocations: 16.38 kB / 0.5653 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003991/0.4056, allocations: 195.4 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4057, allocations: 0 / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.4057, allocations: 12 kB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.4057, allocations: 4 kB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.406, allocations: 137.7 kB / 0.5657 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.4074, allocations: 0.8066 MB / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.4076, allocations: 98.48 kB / 0.5665 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.482e-05/0.4077, allocations: 40.84 kB / 0.5666 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.4077, allocations: 0 / 0.5666 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.4078, allocations: 42.67 kB / 0.5666 GB, free: 13.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.4078, allocations: 0 / 0.5666 GB, free: 13.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001862/0.4096, allocations: 0.7294 MB / 0.5673 GB, free: 13.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.4097, allocations: 55.41 kB / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.4099, allocations: 210.9 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.41, allocations: 29.7 kB / 0.5676 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.4102, allocations: 164.1 kB / 0.5678 GB, free: 12.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.067e-05/0.4102, allocations: 55.58 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.116e-05/0.4103, allocations: 49.66 kB / 0.5679 GB, free: 12.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.4105, allocations: 334.8 kB / 0.5682 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.4106, allocations: 59.97 kB / 0.5683 GB, free: 12.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.4108, allocations: 101.1 kB / 0.5683 GB, free: 11.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/0.4111, allocations: 177 kB / 0.5685 GB, free: 11.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4111, allocations: 0 / 0.5685 GB, free: 11.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005475/0.4117, allocations: 281.1 kB / 0.5688 GB, free: 11.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.4117, allocations: 10.5 kB / 0.5688 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.4117, allocations: 0 / 0.5688 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002557/0.412, allocations: 85.55 kB / 0.5689 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.4121, allocations: 27.98 kB / 0.5689 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002843/0.415, allocations: 3.018 MB / 0.5718 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.4151, allocations: 12.25 kB / 0.5719 GB, free: 8.062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.4151, allocations: 12 kB / 0.5719 GB, free: 8.051 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.0001899/0.4153, allocations: 141.7 kB / 0.572 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/0.4154, allocations: 19.91 kB / 0.572 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.336e-05/0.4154, allocations: 21.88 kB / 0.572 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.4154, allocations: 0 / 0.572 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.4154, allocations: 4 kB / 0.5721 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.4155, allocations: 7.984 kB / 0.5721 GB, free: 7.852 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003493/0.4158, allocations: 281.5 kB / 0.5723 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4158, allocations: 4 kB / 0.5723 GB, free: 7.523 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.572e-05/0.4159, allocations: 15.98 kB / 0.5723 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001972/0.4161, allocations: 65.67 kB / 0.5724 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.4161, allocations: 4.641 kB / 0.5724 GB, free: 7.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002623/0.4187, allocations: 3.009 MB / 0.5754 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4187, allocations: 0 / 0.5754 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006549/0.4194, allocations: 403.5 kB / 0.5757 GB, free: 3.734 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.908e-05/0.4195, allocations: 101 kB / 0.5758 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.4195, allocations: 0 / 0.5758 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.4197, allocations: 24.05 kB / 0.5759 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.4197, allocations: 11.92 kB / 0.5759 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.4198, allocations: 11.98 kB / 0.5759 GB, free: 3.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001519/0.4199, allocations: 148.6 kB / 0.576 GB, free: 3.426 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4199, allocations: 0 / 0.576 GB, free: 3.426 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004018/0.4203, allocations: 64 kB / 0.5761 GB, free: 3.363 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.001042/0.4214, allocations: 0.9247 MB / 0.577 GB, free: 2.406 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000803/0.4222, allocations: 397.2 kB / 0.5774 GB, free: 1.992 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.4222, allocations: 0 / 0.5774 GB, free: 1.992 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004829/0.4226, allocations: 321.6 kB / 0.5777 GB, free: 1.652 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.423, allocations: 36.02 kB / 0.5777 GB, free: 1.617 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003854/0.4269, allocations: 2.485 MB / 0.5801 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.4273, allocations: 0.7518 MB / 0.5809 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.305e-05/0.4274, allocations: 21.88 kB / 0.5809 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.4275, allocations: 71.41 kB / 0.581 GB, free: 14.14 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4275, allocations: 0 / 0.581 GB, free: 14.14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03579/0.4633, allocations: 5.066 MB / 0.5859 GB, free: 9.172 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/10.51, allocations: 6.719 kB / 0.5859 GB, free: 9.168 MB / 430.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_SingularTransformer_fmu --startTime=0 --stopTime=1.1 --stepSize=0.00044 --timeout=50 --tolerance=1e-06 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: 13.421149477828294] Failed to read output from testmodel.py, exit status != 0: 10.601041514892131 10.627356008 10.220021791 Calling exit ...