Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.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.MultiDomainSPIM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM") translateModel(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3986/0.3986, allocations: 78.54 MB / 93.77 MB, free: 4.16 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.001153/0.001154, allocations: 102.2 kB / 113.3 MB, free: 10.05 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.00132/0.00132, allocations: 191.9 kB / 133 MB, free: 6.414 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.562/1.562, allocations: 222.9 MB / 375.4 MB, free: 4.012 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.7324/0.7324, allocations: 62.5 MB / 0.4948 GB, free: 8.465 MB / 366.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002716/0.002716, allocations: 123.8 kB / 0.5747 GB, free: 6.781 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6142/0.6169, allocations: 69.5 MB / 0.6426 GB, free: 17.99 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM): time 0.00533/0.6223, allocations: 4.48 MB / 0.6469 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002506/0.6248, allocations: 1.258 MB / 0.6482 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003379/0.6252, allocations: 5.75 kB / 0.6482 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003853/0.6256, allocations: 98.69 kB / 0.6483 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005265/0.6262, allocations: 203.2 kB / 0.6485 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.6273, allocations: 0.4982 MB / 0.6489 GB, free: 12.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007661/0.628, allocations: 0.8386 MB / 0.6498 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002849/0.6283, allocations: 160.4 kB / 0.6499 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003556/0.6287, allocations: 349.1 kB / 0.6502 GB, free: 11.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005035/0.6292, allocations: 449.7 kB / 0.6507 GB, free: 11.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.6293, allocations: 71.62 kB / 0.6507 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002701/0.6296, allocations: 129.4 kB / 0.6509 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.6297, allocations: 167.9 kB / 0.651 GB, free: 11.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002581/0.63, allocations: 356.6 kB / 0.6514 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007834/0.6308, allocations: 0.8349 MB / 0.6522 GB, free: 10.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.6308, allocations: 1.375 kB / 0.6522 GB, free: 10.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6308, allocations: 0 / 0.6522 GB, free: 10.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.6308, allocations: 4 kB / 0.6522 GB, free: 10.62 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003199/0.634, allocations: 1.206 MB / 0.6534 GB, free: 9.746 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.6341, allocations: 9.312 kB / 0.6534 GB, free: 9.746 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009808/0.6351, allocations: 184.9 kB / 0.6535 GB, free: 9.668 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006297/0.6357, allocations: 496.4 kB / 0.654 GB, free: 9.234 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.6358, allocations: 60.92 kB / 0.6541 GB, free: 9.191 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.992e-05/0.6359, allocations: 52.7 kB / 0.6541 GB, free: 9.168 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.637, allocations: 0.5466 MB / 0.6547 GB, free: 8.824 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.637, allocations: 5.125 kB / 0.6547 GB, free: 8.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.112e-05/0.6371, allocations: 16 kB / 0.6547 GB, free: 8.809 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.6371, allocations: 14.3 kB / 0.6547 GB, free: 8.805 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009717/0.6381, allocations: 494.2 kB / 0.6552 GB, free: 8.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003382/0.6415, allocations: 2.095 MB / 0.6572 GB, free: 6.852 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.6425, allocations: 0.6301 MB / 0.6578 GB, free: 6.395 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005224/0.643, allocations: 291.7 kB / 0.6581 GB, free: 6.238 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.684e-05/0.6431, allocations: 6.25 kB / 0.6581 GB, free: 6.238 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.6431, allocations: 37.72 kB / 0.6582 GB, free: 6.195 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.905e-06/0.6431, allocations: 0 / 0.6582 GB, free: 6.195 MB / 446.1 MB Notification: Performance of matching and sorting (n=52): time 0.008164/0.6513, allocations: 2.854 MB / 0.6609 GB, free: 3.668 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.6514, allocations: 81.55 kB / 0.661 GB, free: 3.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004859/0.6519, allocations: 0.4942 MB / 0.6615 GB, free: 3.062 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.6519, allocations: 33.7 kB / 0.6615 GB, free: 3.023 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.652, allocations: 288.1 kB / 0.6618 GB, free: 2.738 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.6522, allocations: 189.3 kB / 0.662 GB, free: 2.551 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.6523, allocations: 86.25 kB / 0.6621 GB, free: 2.461 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.244e-05/0.6524, allocations: 370.7 kB / 0.6624 GB, free: 2.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004126/0.6528, allocations: 237 kB / 0.6626 GB, free: 1.859 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004439/0.6533, allocations: 337.1 kB / 0.663 GB, free: 1.492 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008648/0.6542, allocations: 0.6012 MB / 0.6636 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.6542, allocations: 0 / 0.6636 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.007441/0.6616, allocations: 1.74 MB / 0.6653 GB, free: 15.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.6617, allocations: 4 kB / 0.6653 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.6617, allocations: 12.2 kB / 0.6653 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007275/0.669, allocations: 1.174 MB / 0.6664 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005088/0.6695, allocations: 99.88 kB / 0.6665 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01188/0.6814, allocations: 6.258 MB / 0.6726 GB, free: 7.277 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008051/0.6822, allocations: 40.09 kB / 0.6727 GB, free: 7.238 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.611e-05/0.6823, allocations: 16 kB / 0.6727 GB, free: 7.223 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003056/0.6826, allocations: 181.7 kB / 0.6728 GB, free: 7.035 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.6828, allocations: 59.19 kB / 0.6729 GB, free: 6.977 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004315/0.6871, allocations: 1.323 MB / 0.6742 GB, free: 5.637 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.6871, allocations: 8 kB / 0.6742 GB, free: 5.629 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.6871, allocations: 7.938 kB / 0.6742 GB, free: 5.621 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.6871, allocations: 3.984 kB / 0.6742 GB, free: 5.617 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005457/0.6926, allocations: 2.11 MB / 0.6763 GB, free: 3.418 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6926, allocations: 0 / 0.6763 GB, free: 3.418 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004481/0.6931, allocations: 79.83 kB / 0.6764 GB, free: 3.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002517/0.6956, allocations: 0.5909 MB / 0.6769 GB, free: 2.742 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-05/0.6957, allocations: 8 kB / 0.6769 GB, free: 2.734 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006874/0.7026, allocations: 4.752 MB / 0.6816 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.7026, allocations: 0 / 0.6816 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004929/0.7075, allocations: 1.784 MB / 0.6833 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002847/0.7078, allocations: 144.3 kB / 0.6835 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.216e-05/0.7079, allocations: 12 kB / 0.6835 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005649/0.7085, allocations: 23.97 kB / 0.6835 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002341/0.7088, allocations: 76.28 kB / 0.6836 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/0.7088, allocations: 12 kB / 0.6836 GB, free: 11.61 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004378/0.7093, allocations: 362.8 kB / 0.6839 GB, free: 11.26 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7093, allocations: 0 / 0.6839 GB, free: 11.26 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000827/0.7101, allocations: 192 kB / 0.6841 GB, free: 11.07 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,SPIM.Rotor_Inertia.w,SPIM.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 (37): * Single equations (assignments): 35 * 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,10,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001898/0.7103, allocations: 123.1 kB / 0.6842 GB, free: 10.94 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00232/0.7126, allocations: 0.9001 MB / 0.6851 GB, free: 10.02 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.7126, allocations: 0 / 0.6851 GB, free: 10.02 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001435/0.7141, allocations: 0.6873 MB / 0.6858 GB, free: 9.312 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006701/0.7148, allocations: 61.95 kB / 0.6858 GB, free: 9.254 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/0.7173, allocations: 1.502 MB / 0.6873 GB, free: 7.723 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/0.7178, allocations: 0.8872 MB / 0.6882 GB, free: 6.805 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002437/0.7181, allocations: 56.36 kB / 0.6882 GB, free: 6.75 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.7182, allocations: 39.38 kB / 0.6883 GB, free: 6.711 MB / 478.1 MB Notification: Performance of SimCode: time 7.81e-07/0.7182, allocations: 0 / 0.6883 GB, free: 6.711 MB / 478.1 MB Notification: Performance of Templates: time 0.01992/0.7381, allocations: 12.17 MB / 0.7001 GB, free: 10.59 MB / 494.1 MB make -j1 -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.makefile (rm -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.sim & ./OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe 2>&1)