Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 105.3 kB / 17.58 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 192 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 47.92 kB / 280.8 MB, free: 3.062 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08007/0.08129, allocations: 46.63 MB / 327.4 MB, free: 4.367 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.0068/0.08813, allocations: 5.856 MB / 333.2 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004436/0.0926, allocations: 2.119 MB / 335.4 MB, free: 12.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007486/0.0935, allocations: 35.81 kB / 335.4 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009563/0.09446, allocations: 393.7 kB / 335.8 MB, free: 11.92 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001541/0.09602, allocations: 0.5554 MB / 336.3 MB, free: 11.36 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004766/0.09651, allocations: 227.7 kB / 336.6 MB, free: 11.14 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002179/0.0987, allocations: 2.268 MB / 338.8 MB, free: 8.859 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001977/0.1007, allocations: 1.891 MB / 340.7 MB, free: 6.93 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001982/0.1027, allocations: 1.05 MB / 341.8 MB, free: 5.887 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001501/0.1042, allocations: 1.203 MB / 343 MB, free: 4.68 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005045/0.1047, allocations: 291.9 kB / 343.3 MB, free: 4.395 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006814/0.1054, allocations: 375.8 kB / 343.6 MB, free: 4.027 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006359/0.1061, allocations: 0.7091 MB / 344.3 MB, free: 3.316 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001211/0.1073, allocations: 1.218 MB / 345.5 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003102/0.1104, allocations: 3.747 MB / 349.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1104, allocations: 4 kB / 349.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1104, allocations: 0 / 349.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.317e-05/0.1105, allocations: 0 / 349.3 MB, free: 14.33 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.004585/0.1151, allocations: 2.373 MB / 351.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1151, allocations: 12.03 kB / 351.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004225/0.1156, allocations: 270.2 kB / 351.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006778/0.1163, allocations: 250.4 kB / 352.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/0.1183, allocations: 1.243 MB / 353.4 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.086e-05/0.1184, allocations: 127.5 kB / 353.6 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002475/0.1186, allocations: 176 kB / 353.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004448/0.1231, allocations: 2.543 MB / 356.3 MB, free: 7.219 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/0.1231, allocations: 7.938 kB / 356.3 MB, free: 7.211 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/0.1233, allocations: 75.98 kB / 356.4 MB, free: 7.137 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.624e-05/0.1234, allocations: 95.56 kB / 356.4 MB, free: 7.043 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003594/0.127, allocations: 2.107 MB / 358.6 MB, free: 4.934 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01134/0.1384, allocations: 7.445 MB / 366 MB, free: 13.24 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.1399, allocations: 1.267 MB / 367.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007643/0.1407, allocations: 474.9 kB / 367.7 MB, free: 11.37 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002178/0.1409, allocations: 117.6 kB / 367.8 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.141, allocations: 46.92 kB / 367.9 MB, free: 11.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=52): time 2.485e-06/0.141, allocations: 0 / 367.9 MB, free: 11.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.004456/0.1454, allocations: 2.257 MB / 370.1 MB, free: 8.844 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.1455, allocations: 93.48 kB / 370.2 MB, free: 8.734 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002201/0.1477, allocations: 1.512 MB / 371.8 MB, free: 7.215 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.641e-05/0.1478, allocations: 37.7 kB / 371.8 MB, free: 7.172 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008148/0.1486, allocations: 0.9672 MB / 372.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000228/0.1489, allocations: 201.3 kB / 373 MB, free: 5.992 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00032/0.1492, allocations: 238.6 kB / 373.2 MB, free: 5.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1493, allocations: 353.9 kB / 373.5 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007577/0.1501, allocations: 462.3 kB / 374 MB, free: 4.949 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.1513, allocations: 1.087 MB / 375.1 MB, free: 3.543 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002039/0.1533, allocations: 1.619 MB / 376.7 MB, free: 1.613 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.986e-06/0.1533, allocations: 4 kB / 376.7 MB, free: 1.609 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.1518/0.3052, allocations: 1.687 MB / 378.4 MB, free: 50.67 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.825e-05/0.3052, allocations: 15.2 kB / 378.4 MB, free: 50.67 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.91e-05/0.3053, allocations: 22.88 kB / 378.4 MB, free: 50.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007703/0.3061, allocations: 176.8 kB / 378.6 MB, free: 50.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.3071, allocations: 289.4 kB / 378.9 MB, free: 50.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/0.3093, allocations: 2.362 MB / 381.2 MB, free: 49.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.3105, allocations: 82.42 kB / 381.3 MB, free: 49.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.3106, allocations: 65.16 kB / 381.4 MB, free: 49.17 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001065/0.3117, allocations: 0.7048 MB / 382.1 MB, free: 48.82 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002571/0.312, allocations: 135.2 kB / 382.2 MB, free: 48.81 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.3133, allocations: 0.8445 MB / 383.1 MB, free: 48.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3134, allocations: 5.406 kB / 383.1 MB, free: 48.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3134, allocations: 3.688 kB / 383.1 MB, free: 48.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3134, allocations: 2.109 kB / 383.1 MB, free: 48.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003716/0.3171, allocations: 2.502 MB / 385.6 MB, free: 47.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.3171, allocations: 7.094 kB / 385.6 MB, free: 47.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003733/0.3175, allocations: 99.94 kB / 385.7 MB, free: 47.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006152/0.3181, allocations: 154.2 kB / 385.8 MB, free: 47.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.3182, allocations: 15.08 kB / 385.8 MB, free: 47.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001832/0.32, allocations: 2.304 MB / 388.1 MB, free: 45.44 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.32, allocations: 3.469 kB / 388.1 MB, free: 45.44 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/0.3222, allocations: 1.32 MB / 389.5 MB, free: 44.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006427/0.3229, allocations: 287.3 kB / 389.7 MB, free: 44.69 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/0.3231, allocations: 24.11 kB / 389.8 MB, free: 44.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008397/0.3239, allocations: 48.77 kB / 389.8 MB, free: 44.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.3241, allocations: 50.06 kB / 389.9 MB, free: 44.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.993e-05/0.3241, allocations: 22.91 kB / 389.9 MB, free: 44.64 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001397/0.3255, allocations: 1.033 MB / 390.9 MB, free: 44.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3255, allocations: 0 / 390.9 MB, free: 44.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001392/0.3269, allocations: 350.8 kB / 391.3 MB, free: 44.2 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002131/0.3291, allocations: 1.93 MB / 393.2 MB, free: 43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001763/0.3308, allocations: 1.251 MB / 394.4 MB, free: 42.51 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.3309, allocations: 1.5 kB / 394.4 MB, free: 42.51 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006548/0.3315, allocations: 0.5152 MB / 395 MB, free: 42.25 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/0.333, allocations: 370.4 kB / 395.3 MB, free: 42.13 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01576/0.3487, allocations: 15.04 MB / 410.4 MB, free: 29.62 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009554/0.3497, allocations: 1.702 MB / 412.1 MB, free: 27.89 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008926/0.3506, allocations: 319.3 kB / 412.4 MB, free: 27.57 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005673/0.3512, allocations: 0.6164 MB / 413 MB, free: 26.96 MB / 318.1 MB Notification: Performance of SimCode: time 2.304e-06/0.3512, allocations: 0 / 413 MB, free: 26.96 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06206/0.4133, allocations: 33.08 MB / 446.1 MB, free: 9.773 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.746/10.16, allocations: 12.64 kB / 446.1 MB, free: 9.762 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches