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.3618/0.3618, allocations: 78.55 MB / 94.81 MB, free: 3.895 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.001152/0.001152, allocations: 119 kB / 114.4 MB, free: 9.832 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.001735/0.001735, allocations: 192.4 kB / 134 MB, free: 6.18 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.385/1.385, allocations: 222.9 MB / 376.4 MB, free: 3.82 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.6674/0.6674, allocations: 62.27 MB / 0.4957 GB, free: 7.91 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00227/0.00227, allocations: 128.4 kB / 0.5764 GB, free: 5.918 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4585/0.4608, allocations: 69.49 MB / 0.6443 GB, free: 18.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM): time 0.004968/0.4658, allocations: 4.672 MB / 0.6489 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002314/0.4681, allocations: 1.385 MB / 0.6502 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002846/0.4684, allocations: 5.719 kB / 0.6502 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003248/0.4688, allocations: 134.2 kB / 0.6503 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004855/0.4693, allocations: 261 kB / 0.6506 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.4704, allocations: 0.6051 MB / 0.6512 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008727/0.4712, allocations: 1.039 MB / 0.6522 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000276/0.4715, allocations: 183.1 kB / 0.6524 GB, free: 11.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003999/0.4719, allocations: 429.2 kB / 0.6528 GB, free: 11.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005635/0.4725, allocations: 0.5421 MB / 0.6533 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.4726, allocations: 89.97 kB / 0.6534 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002697/0.4729, allocations: 151.7 kB / 0.6535 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.4731, allocations: 209.2 kB / 0.6537 GB, free: 11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002877/0.4734, allocations: 439.6 kB / 0.6542 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007996/0.4742, allocations: 1.026 MB / 0.6552 GB, free: 9.902 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4742, allocations: 1.375 kB / 0.6552 GB, free: 9.902 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4742, allocations: 0 / 0.6552 GB, free: 9.902 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.4742, allocations: 0 / 0.6552 GB, free: 9.902 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.003852/0.4781, allocations: 1.413 MB / 0.6565 GB, free: 8.938 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.4781, allocations: 9.781 kB / 0.6565 GB, free: 8.938 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009788/0.4791, allocations: 201.7 kB / 0.6567 GB, free: 8.848 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007173/0.4798, allocations: 0.5222 MB / 0.6572 GB, free: 8.387 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.691e-05/0.4799, allocations: 79.12 kB / 0.6573 GB, free: 8.332 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.48, allocations: 53.31 kB / 0.6574 GB, free: 8.316 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.4812, allocations: 0.765 MB / 0.6581 GB, free: 7.828 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.4813, allocations: 5.438 kB / 0.6581 GB, free: 7.824 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.074e-05/0.4813, allocations: 25.47 kB / 0.6582 GB, free: 7.805 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.4814, allocations: 14.06 kB / 0.6582 GB, free: 7.805 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.4829, allocations: 0.8325 MB / 0.659 GB, free: 7.414 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003927/0.4868, allocations: 2.852 MB / 0.6618 GB, free: 4.676 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.4885, allocations: 1.132 MB / 0.6629 GB, free: 3.453 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006465/0.4891, allocations: 449.9 kB / 0.6633 GB, free: 3.012 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.807e-05/0.4892, allocations: 8.656 kB / 0.6633 GB, free: 3.004 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.4893, allocations: 39.22 kB / 0.6633 GB, free: 2.953 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 2.244e-06/0.4893, allocations: 0 / 0.6633 GB, free: 2.953 MB / 446.1 MB Notification: Performance of matching and sorting (n=81): time 0.01026/0.4996, allocations: 3.886 MB / 0.6671 GB, free: 14.99 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.4996, allocations: 89.77 kB / 0.6672 GB, free: 14.88 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006269/0.5003, allocations: 0.5223 MB / 0.6677 GB, free: 14.35 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.098e-05/0.5003, allocations: 49.69 kB / 0.6678 GB, free: 14.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/0.5006, allocations: 308.6 kB / 0.6681 GB, free: 13.99 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.5008, allocations: 283.9 kB / 0.6683 GB, free: 13.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002438/0.5011, allocations: 122.7 kB / 0.6685 GB, free: 13.58 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003184/0.5014, allocations: 374.8 kB / 0.6688 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007266/0.5021, allocations: 361.8 kB / 0.6692 GB, free: 12.85 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008007/0.5029, allocations: 0.4926 MB / 0.6696 GB, free: 12.31 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.5045, allocations: 0.8828 MB / 0.6705 GB, free: 11.38 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.247e-06/0.5045, allocations: 11.98 kB / 0.6705 GB, free: 11.37 MB / 462.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004711/0.5093, allocations: 1.719 MB / 0.6722 GB, free: 9.633 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.5093, allocations: 8 kB / 0.6722 GB, free: 9.625 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.5093, allocations: 0 / 0.6722 GB, free: 9.625 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002151/0.5115, allocations: 0.58 MB / 0.6728 GB, free: 9.039 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000762/0.5122, allocations: 131.8 kB / 0.6729 GB, free: 8.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00864/0.5209, allocations: 5.771 MB / 0.6785 GB, free: 2.855 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009316/0.5219, allocations: 43.97 kB / 0.6786 GB, free: 2.812 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.467e-05/0.5219, allocations: 36.06 kB / 0.6786 GB, free: 2.777 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.0002993/0.5222, allocations: 199 kB / 0.6788 GB, free: 2.574 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.5224, allocations: 71.09 kB / 0.6789 GB, free: 2.504 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004466/0.5269, allocations: 1.696 MB / 0.6805 GB, free: 0.793 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.5269, allocations: 15.94 kB / 0.6805 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.5269, allocations: 4 kB / 0.6805 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.5269, allocations: 3.984 kB / 0.6805 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005659/0.5326, allocations: 2.659 MB / 0.6831 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.5326, allocations: 0 / 0.6831 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007292/0.5333, allocations: 116 kB / 0.6833 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001924/0.5353, allocations: 0.548 MB / 0.6838 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.237e-05/0.5353, allocations: 19.98 kB / 0.6838 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007689/0.543, allocations: 5.358 MB / 0.689 GB, free: 7.688 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.5431, allocations: 4.031 kB / 0.689 GB, free: 7.684 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005291/0.5484, allocations: 2.318 MB / 0.6913 GB, free: 5.344 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002528/0.5486, allocations: 144.3 kB / 0.6914 GB, free: 5.184 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.5488, allocations: 12 kB / 0.6915 GB, free: 5.172 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007446/0.5495, allocations: 43.97 kB / 0.6915 GB, free: 5.129 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000263/0.5498, allocations: 88.53 kB / 0.6916 GB, free: 5.043 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.274e-05/0.5498, allocations: 16 kB / 0.6916 GB, free: 5.027 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004181/0.5503, allocations: 386.7 kB / 0.692 GB, free: 4.652 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5503, allocations: 0 / 0.692 GB, free: 4.652 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000811/0.5511, allocations: 252 kB / 0.6922 GB, free: 4.406 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.0001879/0.5513, allocations: 127.1 kB / 0.6923 GB, free: 4.273 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002558/0.5539, allocations: 1.306 MB / 0.6936 GB, free: 2.945 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5539, allocations: 320 / 0.6936 GB, free: 2.945 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00162/0.5555, allocations: 0.8778 MB / 0.6945 GB, free: 2.035 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006487/0.5562, allocations: 74.3 kB / 0.6945 GB, free: 1.961 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.5587, allocations: 1.571 MB / 0.6961 GB, free: 368 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.5592, allocations: 0.9239 MB / 0.697 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003454/0.5595, allocations: 77.08 kB / 0.697 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.5597, allocations: 47.42 kB / 0.6971 GB, free: 15.29 MB / 494.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5597, allocations: 4 kB / 0.6971 GB, free: 15.29 MB / 494.1 MB Notification: Performance of Templates: time 0.01891/0.5787, allocations: 11.78 MB / 0.7086 GB, free: 3.559 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 gbode -lv LOG_STATS > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe 2>&1)