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.4652/0.4652, allocations: 78.55 MB / 94.43 MB, free: 4.137 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.001049/0.001049, allocations: 90.53 kB / 114 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.001305/0.001305, allocations: 191.9 kB / 133.6 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.346/1.346, allocations: 222.9 MB / 376 MB, free: 2.281 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.6264/0.6264, allocations: 62.46 MB / 0.4955 GB, free: 8.262 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.002231/0.002231, allocations: 123.8 kB / 0.5753 GB, free: 6.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3857, allocations: 69.49 MB / 0.6432 GB, free: 17.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM): time 0.004296/0.39, allocations: 4.473 MB / 0.6476 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.3919, allocations: 1.262 MB / 0.6488 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002621/0.3922, allocations: 5.656 kB / 0.6488 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000315/0.3925, allocations: 94.83 kB / 0.6489 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004638/0.393, allocations: 199 kB / 0.6491 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008676/0.3939, allocations: 0.503 MB / 0.6496 GB, free: 12.76 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000586/0.3945, allocations: 0.8451 MB / 0.6504 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.3947, allocations: 161.4 kB / 0.6505 GB, free: 12.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003126/0.395, allocations: 344.2 kB / 0.6509 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004032/0.3954, allocations: 446.4 kB / 0.6513 GB, free: 11.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.444e-05/0.3955, allocations: 67.94 kB / 0.6514 GB, free: 11.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002265/0.3958, allocations: 129.3 kB / 0.6515 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.3959, allocations: 176.3 kB / 0.6517 GB, free: 11.49 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002154/0.3961, allocations: 359.4 kB / 0.652 GB, free: 11.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000488/0.3966, allocations: 0.6365 MB / 0.6526 GB, free: 10.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3966, allocations: 1.25 kB / 0.6526 GB, free: 10.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3966, allocations: 0 / 0.6526 GB, free: 10.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.3966, allocations: 0 / 0.6526 GB, free: 10.75 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.003007/0.3997, allocations: 1.211 MB / 0.6538 GB, free: 9.875 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.3997, allocations: 8.75 kB / 0.6538 GB, free: 9.875 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009631/0.4007, allocations: 185.7 kB / 0.654 GB, free: 9.797 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005652/0.4012, allocations: 495.2 kB / 0.6545 GB, free: 9.363 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.992e-05/0.4013, allocations: 68.84 kB / 0.6545 GB, free: 9.312 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.206e-05/0.4014, allocations: 49 kB / 0.6546 GB, free: 9.293 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009069/0.4023, allocations: 0.5466 MB / 0.6551 GB, free: 8.949 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.4024, allocations: 5.219 kB / 0.6551 GB, free: 8.945 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.913e-05/0.4024, allocations: 15.34 kB / 0.6551 GB, free: 8.934 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.4024, allocations: 11.19 kB / 0.6551 GB, free: 8.934 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008928/0.4033, allocations: 497.4 kB / 0.6556 GB, free: 8.695 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00284/0.4062, allocations: 2.096 MB / 0.6577 GB, free: 6.977 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008792/0.4071, allocations: 0.6239 MB / 0.6583 GB, free: 6.527 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004746/0.4076, allocations: 282.3 kB / 0.6585 GB, free: 6.379 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.299e-05/0.4076, allocations: 13.77 kB / 0.6585 GB, free: 6.371 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.4077, allocations: 46.22 kB / 0.6586 GB, free: 6.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.374e-06/0.4077, allocations: 0 / 0.6586 GB, free: 6.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=52): time 0.008493/0.4162, allocations: 2.847 MB / 0.6614 GB, free: 3.871 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.4162, allocations: 81.55 kB / 0.6615 GB, free: 3.773 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000492/0.4167, allocations: 0.4943 MB / 0.6619 GB, free: 3.266 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.329e-05/0.4168, allocations: 33.7 kB / 0.662 GB, free: 3.227 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.4169, allocations: 288.1 kB / 0.6622 GB, free: 2.941 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.417, allocations: 185.2 kB / 0.6624 GB, free: 2.758 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.4172, allocations: 90.23 kB / 0.6625 GB, free: 2.664 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.976e-05/0.4173, allocations: 366.7 kB / 0.6629 GB, free: 2.297 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004196/0.4177, allocations: 244.9 kB / 0.6631 GB, free: 2.059 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004478/0.4181, allocations: 345 kB / 0.6634 GB, free: 1.684 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008763/0.419, allocations: 0.5973 MB / 0.664 GB, free: 1.047 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.419, allocations: 4 kB / 0.664 GB, free: 1.043 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.008011/0.427, allocations: 1.736 MB / 0.6657 GB, free: 15.29 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.4271, allocations: 10.66 kB / 0.6657 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.4271, allocations: 4 kB / 0.6657 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007655/0.4348, allocations: 1.181 MB / 0.6669 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005056/0.4353, allocations: 95.88 kB / 0.667 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/0.4473, allocations: 6.252 MB / 0.6731 GB, free: 7.477 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000704/0.4481, allocations: 31.97 kB / 0.6731 GB, free: 7.445 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.213e-05/0.4481, allocations: 28.05 kB / 0.6731 GB, free: 7.418 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.0002659/0.4484, allocations: 177.8 kB / 0.6733 GB, free: 7.234 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.4486, allocations: 67.19 kB / 0.6734 GB, free: 7.168 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004491/0.4531, allocations: 1.323 MB / 0.6746 GB, free: 5.828 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.4531, allocations: 8 kB / 0.6747 GB, free: 5.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.4531, allocations: 7.938 kB / 0.6747 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.4531, allocations: 4 kB / 0.6747 GB, free: 5.809 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005603/0.4588, allocations: 2.106 MB / 0.6767 GB, free: 3.613 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.4588, allocations: 7.938 kB / 0.6767 GB, free: 3.605 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004813/0.4593, allocations: 79.89 kB / 0.6768 GB, free: 3.527 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00266/0.462, allocations: 0.5909 MB / 0.6774 GB, free: 2.93 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.489e-05/0.462, allocations: 11.98 kB / 0.6774 GB, free: 2.918 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00691/0.4689, allocations: 4.737 MB / 0.682 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.469, allocations: 0 / 0.682 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005102/0.4741, allocations: 1.788 MB / 0.6838 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.4743, allocations: 140.4 kB / 0.6839 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.4744, allocations: 8 kB / 0.6839 GB, free: 11.92 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006043/0.475, allocations: 31.97 kB / 0.6839 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/0.4752, allocations: 68.28 kB / 0.684 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.024e-05/0.4753, allocations: 16 kB / 0.684 GB, free: 11.81 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004051/0.4757, allocations: 358.8 kB / 0.6844 GB, free: 11.46 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4757, allocations: 0 / 0.6844 GB, free: 11.46 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007609/0.4765, allocations: 192 kB / 0.6845 GB, free: 11.27 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.0001533/0.4766, allocations: 119.1 kB / 0.6847 GB, free: 11.14 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002277/0.4789, allocations: 0.9117 MB / 0.6855 GB, free: 10.21 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.4789, allocations: 4 kB / 0.6856 GB, free: 10.21 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.4803, allocations: 0.6679 MB / 0.6862 GB, free: 9.52 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006571/0.481, allocations: 61.97 kB / 0.6863 GB, free: 9.461 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.4834, allocations: 1.548 MB / 0.6878 GB, free: 7.879 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.4839, allocations: 0.8872 MB / 0.6886 GB, free: 6.961 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.484, allocations: 43.44 kB / 0.6887 GB, free: 6.918 MB / 478.1 MB Notification: Performance of SimCode: time 6.21e-07/0.484, allocations: 0 / 0.6887 GB, free: 6.918 MB / 478.1 MB Notification: Performance of Templates: time 0.01491/0.4989, allocations: 12.38 MB / 0.7008 GB, free: 10.53 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)