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.00107/0.00107, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001138/0.001138, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2034/0.2034, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 75.88 kB / 480.8 MB, free: 4.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2887, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003567/0.2923, allocations: 2.584 MB / 0.533 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.2934, allocations: 0.6677 MB / 0.5337 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.2936, allocations: 6.5 kB / 0.5337 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.2938, allocations: 38.45 kB / 0.5337 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.294, allocations: 79.45 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.2942, allocations: 77.67 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003292/0.2946, allocations: 290.6 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.2948, allocations: 90.86 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.295, allocations: 117 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.2952, allocations: 117.8 kB / 0.5344 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.994e-05/0.2952, allocations: 23.38 kB / 0.5345 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.736e-05/0.2953, allocations: 28.75 kB / 0.5345 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.946e-05/0.2954, allocations: 54.69 kB / 0.5345 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.2955, allocations: 124.6 kB / 0.5347 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003368/0.2958, allocations: 292.7 kB / 0.5349 GB, free: 9.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2958, allocations: 0.875 kB / 0.5349 GB, free: 9.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2958, allocations: 0 / 0.5349 GB, free: 9.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.2959, allocations: 0 / 0.5349 GB, free: 9.93 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.0007917/0.2967, allocations: 0.541 MB / 0.5355 GB, free: 9.426 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.2967, allocations: 13.09 kB / 0.5355 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.937e-05/0.2968, allocations: 62.45 kB / 0.5355 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.2969, allocations: 35.84 kB / 0.5356 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.2973, allocations: 254.7 kB / 0.5358 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.2973, allocations: 20.67 kB / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.299e-05/0.2974, allocations: 18.12 kB / 0.5359 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.2977, allocations: 193.8 kB / 0.536 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.2978, allocations: 0.9688 kB / 0.536 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.2978, allocations: 14.44 kB / 0.5361 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.2978, allocations: 9.531 kB / 0.5361 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002888/0.2981, allocations: 140.3 kB / 0.5362 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.2994, allocations: 0.8004 MB / 0.537 GB, free: 8.164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.2996, allocations: 99.86 kB / 0.5371 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.294e-05/0.2997, allocations: 46.5 kB / 0.5371 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.2997, allocations: 6.094 kB / 0.5371 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.2997, allocations: 39.58 kB / 0.5372 GB, free: 8.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.2997, allocations: 0 / 0.5372 GB, free: 8.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.00171/0.3014, allocations: 0.7252 MB / 0.5379 GB, free: 7.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.3015, allocations: 53.97 kB / 0.5379 GB, free: 7.426 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.3017, allocations: 210.6 kB / 0.5381 GB, free: 7.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.3017, allocations: 34.86 kB / 0.5382 GB, free: 7.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.525e-05/0.3018, allocations: 165.5 kB / 0.5383 GB, free: 7.074 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.3019, allocations: 54.77 kB / 0.5384 GB, free: 7.027 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.91e-05/0.302, allocations: 47.53 kB / 0.5384 GB, free: 6.988 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.3021, allocations: 331.5 kB / 0.5387 GB, free: 6.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.3022, allocations: 59.66 kB / 0.5388 GB, free: 6.633 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.3024, allocations: 112.5 kB / 0.5389 GB, free: 6.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.3027, allocations: 176.2 kB / 0.5391 GB, free: 6.422 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3027, allocations: 0 / 0.5391 GB, free: 6.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005186/0.3033, allocations: 284.2 kB / 0.5393 GB, free: 6.258 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3033, allocations: 5.406 kB / 0.5393 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3033, allocations: 1.469 kB / 0.5393 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002265/0.3035, allocations: 71.08 kB / 0.5394 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.3037, allocations: 36.3 kB / 0.5394 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/0.3061, allocations: 3.024 MB / 0.5424 GB, free: 3.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.3062, allocations: 5.375 kB / 0.5424 GB, free: 3.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.3063, allocations: 9.625 kB / 0.5424 GB, free: 3.152 MB / 398.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.0001275/0.3064, allocations: 143.8 kB / 0.5425 GB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/0.3064, allocations: 21.77 kB / 0.5426 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.907e-05/0.3065, allocations: 22.28 kB / 0.5426 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3065, allocations: 2.031 kB / 0.5426 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.3065, allocations: 1.031 kB / 0.5426 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3065, allocations: 1.312 kB / 0.5426 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/0.3069, allocations: 287.9 kB / 0.5429 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3069, allocations: 4.031 kB / 0.5429 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.634e-05/0.307, allocations: 16.08 kB / 0.5429 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001966/0.3072, allocations: 77.94 kB / 0.543 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.3072, allocations: 4 kB / 0.543 GB, free: 2.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002171/0.3094, allocations: 3.016 MB / 0.5459 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3094, allocations: 0 / 0.5459 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005916/0.31, allocations: 405.1 kB / 0.5463 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.577e-05/0.3101, allocations: 96.39 kB / 0.5464 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.3101, allocations: 6.281 kB / 0.5464 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.3103, allocations: 14.08 kB / 0.5464 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.3103, allocations: 14.55 kB / 0.5464 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.3104, allocations: 3.031 kB / 0.5464 GB, free: 15.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.3105, allocations: 160.7 kB / 0.5466 GB, free: 15.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3105, allocations: 0 / 0.5466 GB, free: 15.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003466/0.3109, allocations: 64.47 kB / 0.5466 GB, free: 15.07 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.0008305/0.3117, allocations: 0.9241 MB / 0.5475 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006141/0.3123, allocations: 405.8 kB / 0.5479 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3123, allocations: 4.062 kB / 0.5479 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004123/0.3128, allocations: 330.5 kB / 0.5482 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.3131, allocations: 31.7 kB / 0.5483 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003136/0.3162, allocations: 2.486 MB / 0.5507 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.3165, allocations: 0.7466 MB / 0.5514 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.696e-05/0.3166, allocations: 18.02 kB / 0.5515 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.967e-05/0.3167, allocations: 67.38 kB / 0.5515 GB, free: 10.87 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3168, allocations: 1.406 kB / 0.5515 GB, free: 10.87 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.3428, allocations: 5.023 MB / 0.5564 GB, free: 6.105 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.957/9.3, allocations: 11.97 kB / 0.5564 GB, free: 6.094 MB / 414.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)