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: translateModel(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM") translateModel(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3456/0.3456, allocations: 78.55 MB / 94.8 MB, free: 3.906 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.001016/0.001016, allocations: 112.5 kB / 114.4 MB, free: 9.84 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.001177/0.001177, allocations: 191 kB / 134 MB, free: 6.195 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.331/1.331, allocations: 222.9 MB / 376.4 MB, free: 3.828 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.6082/0.6082, allocations: 62.54 MB / 0.496 GB, free: 8.238 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 127.8 kB / 0.5767 GB, free: 5.668 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4528/0.455, allocations: 69.51 MB / 0.6446 GB, free: 18.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM): time 0.004546/0.4596, allocations: 4.661 MB / 0.6491 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.4615, allocations: 1.393 MB / 0.6505 GB, free: 13.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002283/0.4618, allocations: 5.531 kB / 0.6505 GB, free: 13.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.4621, allocations: 130.7 kB / 0.6506 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004068/0.4625, allocations: 264.9 kB / 0.6509 GB, free: 12.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008671/0.4634, allocations: 0.5954 MB / 0.6514 GB, free: 12.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007256/0.4641, allocations: 1.053 MB / 0.6525 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002439/0.4644, allocations: 178.5 kB / 0.6526 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003435/0.4647, allocations: 434 kB / 0.6531 GB, free: 11.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005028/0.4652, allocations: 0.5288 MB / 0.6536 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.4653, allocations: 90.75 kB / 0.6537 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.4656, allocations: 159.5 kB / 0.6538 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.4657, allocations: 213.3 kB / 0.654 GB, free: 10.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002821/0.466, allocations: 435.1 kB / 0.6544 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006786/0.4667, allocations: 1.023 MB / 0.6554 GB, free: 9.754 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.4667, allocations: 0 / 0.6554 GB, free: 9.754 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4667, allocations: 0 / 0.6554 GB, free: 9.754 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.4667, allocations: 0 / 0.6554 GB, free: 9.754 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.003716/0.4704, allocations: 1.418 MB / 0.6568 GB, free: 8.785 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.4705, allocations: 9.594 kB / 0.6568 GB, free: 8.785 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000953/0.4715, allocations: 198.2 kB / 0.657 GB, free: 8.699 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006946/0.4722, allocations: 0.5214 MB / 0.6575 GB, free: 8.238 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.457e-05/0.4723, allocations: 78.94 kB / 0.6576 GB, free: 8.184 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.4724, allocations: 56.97 kB / 0.6576 GB, free: 8.164 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.4735, allocations: 0.7654 MB / 0.6584 GB, free: 7.676 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.4735, allocations: 1.438 kB / 0.6584 GB, free: 7.676 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.005e-05/0.4736, allocations: 22.03 kB / 0.6584 GB, free: 7.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.4736, allocations: 13.22 kB / 0.6584 GB, free: 7.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.4751, allocations: 0.8364 MB / 0.6592 GB, free: 7.266 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003693/0.4788, allocations: 2.852 MB / 0.662 GB, free: 4.395 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.4803, allocations: 1.134 MB / 0.6631 GB, free: 3.168 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006188/0.481, allocations: 441.9 kB / 0.6636 GB, free: 2.734 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.322e-05/0.4811, allocations: 12.64 kB / 0.6636 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.4811, allocations: 47.22 kB / 0.6636 GB, free: 2.664 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 1.764e-06/0.4811, allocations: 0 / 0.6636 GB, free: 2.664 MB / 446.1 MB Notification: Performance of matching and sorting (n=81): time 0.009895/0.491, allocations: 3.882 MB / 0.6674 GB, free: 14.7 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.4911, allocations: 89.77 kB / 0.6675 GB, free: 14.6 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00057/0.4916, allocations: 0.5302 MB / 0.668 GB, free: 14.05 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/0.4917, allocations: 33.7 kB / 0.668 GB, free: 14.02 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.4919, allocations: 312.6 kB / 0.6683 GB, free: 13.71 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.4921, allocations: 283.9 kB / 0.6686 GB, free: 13.43 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002258/0.4924, allocations: 122.6 kB / 0.6687 GB, free: 13.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.4925, allocations: 382.8 kB / 0.6691 GB, free: 12.92 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006779/0.4932, allocations: 361.8 kB / 0.6694 GB, free: 12.56 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007483/0.494, allocations: 0.4927 MB / 0.6699 GB, free: 12.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.4954, allocations: 0.8867 MB / 0.6708 GB, free: 11.09 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4954, allocations: 0 / 0.6708 GB, free: 11.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004367/0.4998, allocations: 1.723 MB / 0.6725 GB, free: 9.348 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.4998, allocations: 8 kB / 0.6725 GB, free: 9.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.4998, allocations: 4 kB / 0.6725 GB, free: 9.336 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002052/0.5019, allocations: 0.5762 MB / 0.673 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006778/0.5026, allocations: 131.8 kB / 0.6732 GB, free: 8.625 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008195/0.5108, allocations: 5.771 MB / 0.6788 GB, free: 2.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007809/0.5116, allocations: 48.03 kB / 0.6789 GB, free: 2.523 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.387e-05/0.5116, allocations: 35.98 kB / 0.6789 GB, free: 2.488 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.0002567/0.5119, allocations: 191 kB / 0.6791 GB, free: 2.293 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.5121, allocations: 75.09 kB / 0.6791 GB, free: 2.219 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00435/0.5164, allocations: 1.693 MB / 0.6808 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.5164, allocations: 15.92 kB / 0.6808 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.5164, allocations: 7.938 kB / 0.6808 GB, free: 500 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.5165, allocations: 3.984 kB / 0.6808 GB, free: 496 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005408/0.5219, allocations: 2.659 MB / 0.6834 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.5219, allocations: 3.938 kB / 0.6834 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007116/0.5226, allocations: 115.8 kB / 0.6835 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001859/0.5245, allocations: 0.548 MB / 0.6841 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.852e-05/0.5245, allocations: 20 kB / 0.6841 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007174/0.5317, allocations: 5.348 MB / 0.6893 GB, free: 7.406 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.5317, allocations: 0 / 0.6893 GB, free: 7.406 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005096/0.5369, allocations: 2.322 MB / 0.6916 GB, free: 5.062 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002126/0.5371, allocations: 144.3 kB / 0.6917 GB, free: 4.902 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.5372, allocations: 16 kB / 0.6917 GB, free: 4.887 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007135/0.5379, allocations: 47.97 kB / 0.6918 GB, free: 4.84 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002673/0.5382, allocations: 88.52 kB / 0.6919 GB, free: 4.754 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.454e-05/0.5382, allocations: 20 kB / 0.6919 GB, free: 4.734 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004339/0.5387, allocations: 382.8 kB / 0.6922 GB, free: 4.363 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5387, allocations: 0 / 0.6922 GB, free: 4.363 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000787/0.5395, allocations: 244 kB / 0.6925 GB, free: 4.125 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.0001807/0.5397, allocations: 130.5 kB / 0.6926 GB, free: 3.992 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002486/0.5422, allocations: 1.31 MB / 0.6939 GB, free: 2.66 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5422, allocations: 0 / 0.6939 GB, free: 2.66 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001597/0.5438, allocations: 0.8779 MB / 0.6947 GB, free: 1.75 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006386/0.5444, allocations: 72.48 kB / 0.6948 GB, free: 1.68 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.5472, allocations: 1.571 MB / 0.6963 GB, free: 80 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005796/0.5478, allocations: 0.9278 MB / 0.6972 GB, free: 15.12 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003851/0.5482, allocations: 77.08 kB / 0.6973 GB, free: 15.05 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/0.5484, allocations: 47.42 kB / 0.6974 GB, free: 15 MB / 494.1 MB Notification: Performance of SimCode: time 1.122e-06/0.5484, allocations: 0 / 0.6974 GB, free: 15 MB / 494.1 MB Notification: Performance of Templates: time 0.0192/0.5676, allocations: 11.78 MB / 0.7089 GB, free: 3.277 MB / 494.1 MB make -j1 -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.makefile (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 & ./OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe 2>&1)