Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo", uses=false) Using package OpenIMDML with version 1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Running command: "" <> buildModelFMU(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainDPIM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainDPIM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4015/0.4015, allocations: 78.55 MB / 94.05 MB, free: 3.98 MB / 78.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 108.9 kB / 113.6 MB, free: 9.895 MB / 94.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 183.5 kB / 133.3 MB, free: 6.262 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 222.9 MB / 375.7 MB, free: 3.852 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.6003/0.6003, allocations: 62.27 MB / 0.4949 GB, free: 7.883 MB / 366.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 124 kB / 0.5751 GB, free: 6.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4705/0.4727, allocations: 69.5 MB / 0.643 GB, free: 18.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM): time 0.00485/0.4776, allocations: 4.662 MB / 0.6475 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002361/0.48, allocations: 1.381 MB / 0.6489 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003239/0.4803, allocations: 5.688 kB / 0.6489 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003482/0.4807, allocations: 137.4 kB / 0.649 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004801/0.4812, allocations: 257.4 kB / 0.6493 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009848/0.4822, allocations: 0.6092 MB / 0.6499 GB, free: 12.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007492/0.4829, allocations: 1.048 MB / 0.6509 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002593/0.4832, allocations: 181.9 kB / 0.6511 GB, free: 11.69 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003699/0.4836, allocations: 426.3 kB / 0.6515 GB, free: 11.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005172/0.4841, allocations: 0.5418 MB / 0.652 GB, free: 11.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.4842, allocations: 89.25 kB / 0.6521 GB, free: 11.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002716/0.4845, allocations: 148.9 kB / 0.6522 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.4847, allocations: 209.4 kB / 0.6524 GB, free: 10.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002856/0.485, allocations: 435.8 kB / 0.6528 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007322/0.4857, allocations: 1.015 MB / 0.6538 GB, free: 9.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4857, allocations: 1.125 kB / 0.6538 GB, free: 9.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4857, allocations: 3.938 kB / 0.6538 GB, free: 9.746 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.4857, allocations: 0 / 0.6538 GB, free: 9.746 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.003769/0.4895, allocations: 1.415 MB / 0.6552 GB, free: 8.781 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.4896, allocations: 9.781 kB / 0.6552 GB, free: 8.781 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001076/0.4897, allocations: 100.9 kB / 0.6553 GB, free: 8.691 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009563/0.4906, allocations: 193.4 kB / 0.6555 GB, free: 8.609 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006009/0.4912, allocations: 0.5211 MB / 0.656 GB, free: 8.148 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.974e-05/0.4913, allocations: 78.16 kB / 0.6561 GB, free: 8.094 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.867e-05/0.4915, allocations: 66 kB / 0.6561 GB, free: 8.066 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.4927, allocations: 0.7615 MB / 0.6569 GB, free: 7.582 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.4927, allocations: 9.031 kB / 0.6569 GB, free: 7.574 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.468e-05/0.4928, allocations: 21.81 kB / 0.6569 GB, free: 7.559 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.4928, allocations: 17.25 kB / 0.6569 GB, free: 7.555 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/0.4944, allocations: 0.8293 MB / 0.6577 GB, free: 7.168 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003856/0.4982, allocations: 2.854 MB / 0.6605 GB, free: 4.676 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.4998, allocations: 1.13 MB / 0.6616 GB, free: 3.457 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006333/0.5004, allocations: 454 kB / 0.6621 GB, free: 3.012 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-05/0.5005, allocations: 12.64 kB / 0.6621 GB, free: 3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.5005, allocations: 43.22 kB / 0.6621 GB, free: 2.945 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 3.126e-06/0.5005, allocations: 3.938 kB / 0.6621 GB, free: 2.941 MB / 446.1 MB Notification: Performance of matching and sorting (n=81): time 0.0103/0.5108, allocations: 3.875 MB / 0.6659 GB, free: 14.99 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.5109, allocations: 85.77 kB / 0.666 GB, free: 14.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006688/0.5116, allocations: 0.5302 MB / 0.6665 GB, free: 14.34 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.956e-05/0.5117, allocations: 37.7 kB / 0.6665 GB, free: 14.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.5119, allocations: 308.6 kB / 0.6668 GB, free: 14 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.5122, allocations: 283.9 kB / 0.6671 GB, free: 13.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002359/0.5124, allocations: 130.6 kB / 0.6672 GB, free: 13.58 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.5126, allocations: 382.8 kB / 0.6676 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006922/0.5133, allocations: 357.8 kB / 0.6679 GB, free: 12.85 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007745/0.514, allocations: 0.4888 MB / 0.6684 GB, free: 12.31 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.5155, allocations: 0.8867 MB / 0.6693 GB, free: 11.38 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.5155, allocations: 7.938 kB / 0.6693 GB, free: 11.37 MB / 462.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004504/0.5201, allocations: 1.719 MB / 0.671 GB, free: 9.633 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.5201, allocations: 4 kB / 0.671 GB, free: 9.629 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.5201, allocations: 8.25 kB / 0.671 GB, free: 9.621 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002126/0.5222, allocations: 0.5792 MB / 0.6716 GB, free: 9.035 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007071/0.523, allocations: 127.8 kB / 0.6717 GB, free: 8.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008323/0.5313, allocations: 5.774 MB / 0.6773 GB, free: 2.852 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009164/0.5322, allocations: 43.97 kB / 0.6774 GB, free: 2.809 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.749e-05/0.5323, allocations: 27.98 kB / 0.6774 GB, free: 2.781 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (74): * Single equations (assignments): 72 * 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,4,100.0%), (4,18,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002852/0.5326, allocations: 201.7 kB / 0.6776 GB, free: 2.574 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.5327, allocations: 67.16 kB / 0.6776 GB, free: 2.508 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004363/0.5371, allocations: 1.704 MB / 0.6793 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.5371, allocations: 11.98 kB / 0.6793 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.5371, allocations: 8 kB / 0.6793 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.5372, allocations: 3.984 kB / 0.6793 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005513/0.5427, allocations: 2.665 MB / 0.6819 GB, free: 14.01 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.5427, allocations: 192 / 0.6819 GB, free: 14.01 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007044/0.5434, allocations: 115.9 kB / 0.682 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001923/0.5453, allocations: 0.5535 MB / 0.6826 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.645e-05/0.5454, allocations: 23.88 kB / 0.6826 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007476/0.5529, allocations: 5.35 MB / 0.6878 GB, free: 7.68 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5529, allocations: 4.031 kB / 0.6878 GB, free: 7.676 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005313/0.5582, allocations: 2.316 MB / 0.6901 GB, free: 5.336 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002449/0.5585, allocations: 144.3 kB / 0.6902 GB, free: 5.176 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.5586, allocations: 20 kB / 0.6902 GB, free: 5.156 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007439/0.5594, allocations: 43.97 kB / 0.6903 GB, free: 5.113 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002317/0.5596, allocations: 88.52 kB / 0.6904 GB, free: 5.027 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.123e-05/0.5597, allocations: 23.88 kB / 0.6904 GB, free: 5.004 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004065/0.5601, allocations: 378.8 kB / 0.6908 GB, free: 4.637 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5601, allocations: 0 / 0.6908 GB, free: 4.637 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007875/0.5609, allocations: 248 kB / 0.691 GB, free: 4.395 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (Inf.delta,Inf.eq,DPIM.Rotor_Inertia.w,DPIM.speed.phi,Inf.omega) * 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 (58): * Single equations (assignments): 56 * 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,4,100.0%), (4,18,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005498/0.5664, allocations: 2.878 MB / 0.6938 GB, free: 1.48 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002861/0.5693, allocations: 1.341 MB / 0.6951 GB, free: 120 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5693, allocations: 0 / 0.6951 GB, free: 120 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.571, allocations: 0.8782 MB / 0.696 GB, free: 15.21 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007596/0.5718, allocations: 80.73 kB / 0.6961 GB, free: 15.13 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/0.5868, allocations: 8.274 MB / 0.7041 GB, free: 6.652 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/0.5874, allocations: 0.9239 MB / 0.705 GB, free: 5.699 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004439/0.5878, allocations: 77.06 kB / 0.7051 GB, free: 5.625 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003708/0.5882, allocations: 259.3 kB / 0.7054 GB, free: 5.375 MB / 494.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5882, allocations: 4 kB / 0.7054 GB, free: 5.371 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05425/0.6425, allocations: 17.87 MB / 0.7228 GB, free: 3.719 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.775/10.42, allocations: 14.3 kB / 0.7228 GB, free: 3.711 MB / 0.4982 GB (rm -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.sim & python3 -m fmpy simulate --output-file OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainDPIM.fmu > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe 2>&1)