Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.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.SingularTransformer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001928/0.001928, allocations: 103.6 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002246/0.002246, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2036/0.2036, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 78.36 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09892/0.1003, allocations: 62.44 MB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003486/0.1038, allocations: 2.577 MB / 482.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.1049, allocations: 0.6777 MB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.929e-05/0.105, allocations: 4 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.1051, allocations: 39.58 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.1053, allocations: 75.34 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.1055, allocations: 75.83 kB / 483.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.1058, allocations: 290.8 kB / 483.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.106, allocations: 84.59 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.1062, allocations: 115.6 kB / 484 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.1063, allocations: 123.4 kB / 484.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.635e-05/0.1064, allocations: 20 kB / 484.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.437e-05/0.1064, allocations: 28 kB / 484.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.713e-05/0.1065, allocations: 55.81 kB / 484.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.1066, allocations: 127.4 kB / 484.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.1069, allocations: 287.2 kB / 484.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.1069, allocations: 0 / 484.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1069, allocations: 0 / 484.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1069, allocations: 0 / 484.7 MB, free: 0.5977 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0007512/0.1077, allocations: 0.534 MB / 485.2 MB, free: 16 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.1078, allocations: 12.03 kB / 485.2 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.951e-05/0.1078, allocations: 58.72 kB / 485.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.108, allocations: 32.66 kB / 485.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.1083, allocations: 255.8 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.1083, allocations: 12.81 kB / 485.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.1084, allocations: 20.38 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/0.1087, allocations: 199.4 kB / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1087, allocations: 0 / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.1088, allocations: 8 kB / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1088, allocations: 8 kB / 485.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000277/0.1091, allocations: 145.6 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.1102, allocations: 0.8102 MB / 486.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.1104, allocations: 94.48 kB / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.828e-05/0.1105, allocations: 44.84 kB / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.1105, allocations: 192 / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.1106, allocations: 42.5 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 9.02e-07/0.1106, allocations: 0 / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001638/0.1122, allocations: 0.7212 MB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.1123, allocations: 59.34 kB / 487.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.1125, allocations: 211 kB / 487.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.1125, allocations: 25.7 kB / 487.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.953e-05/0.1126, allocations: 167.8 kB / 488.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.1126, allocations: 59.2 kB / 488.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-05/0.1127, allocations: 45.61 kB / 488.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.982e-05/0.1128, allocations: 334.8 kB / 488.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.113, allocations: 59.97 kB / 488.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.1131, allocations: 97.12 kB / 488.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.1134, allocations: 183.6 kB / 488.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1134, allocations: 0 / 488.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005026/0.1139, allocations: 282.8 kB / 489.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.114, allocations: 6.5 kB / 489.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.114, allocations: 4 kB / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002163/0.1142, allocations: 69.83 kB / 489.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.1144, allocations: 35.97 kB / 489.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.1165, allocations: 3.014 MB / 492.3 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.1167, allocations: 16.02 kB / 492.3 MB, free: 8.348 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.1167, allocations: 4.656 kB / 492.3 MB, free: 8.344 MB / 366.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.0001242/0.1169, allocations: 145.8 kB / 492.4 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/0.1169, allocations: 15.81 kB / 492.4 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.876e-05/0.117, allocations: 25.86 kB / 492.5 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.117, allocations: 4 kB / 492.5 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.117, allocations: 192 / 492.5 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.117, allocations: 0 / 492.5 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.1173, allocations: 293.4 kB / 492.8 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1173, allocations: 4 kB / 492.8 MB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.919e-05/0.1174, allocations: 19.98 kB / 492.8 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001835/0.1176, allocations: 65.67 kB / 492.8 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.1176, allocations: 0 / 492.8 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/0.1197, allocations: 3.028 MB / 495.9 MB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1198, allocations: 0 / 495.9 MB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005996/0.1204, allocations: 396.6 kB / 496.3 MB, free: 4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.1204, allocations: 93.05 kB / 496.4 MB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.1205, allocations: 4 kB / 496.4 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.1206, allocations: 23.92 kB / 496.4 MB, free: 3.863 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.1207, allocations: 11.97 kB / 496.4 MB, free: 3.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.1207, allocations: 8 kB / 496.4 MB, free: 3.844 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.1209, allocations: 152.4 kB / 496.6 MB, free: 3.695 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1209, allocations: 0 / 496.6 MB, free: 3.695 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003853/0.1212, allocations: 64 kB / 496.6 MB, free: 3.633 MB / 366.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.0008617/0.1221, allocations: 0.9342 MB / 497.5 MB, free: 2.664 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006296/0.1228, allocations: 403.4 kB / 497.9 MB, free: 2.246 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1228, allocations: 0 / 497.9 MB, free: 2.246 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004179/0.1232, allocations: 333.6 kB / 498.3 MB, free: 1.895 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.1236, allocations: 27.84 kB / 498.3 MB, free: 1.867 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.1266, allocations: 2.483 MB / 0.489 GB, free: 15.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.1268, allocations: 0.748 MB / 0.4898 GB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.333e-05/0.1269, allocations: 21.94 kB / 0.4898 GB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.958e-05/0.127, allocations: 71.34 kB / 0.4899 GB, free: 14.41 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.127, allocations: 0 / 0.4899 GB, free: 14.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/0.1512, allocations: 4.913 MB / 0.4947 GB, free: 9.605 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.89/9.042, allocations: 3.984 kB / 0.4947 GB, free: 9.602 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Electrical_SingularTransformer.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1)