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: "" <> buildModelFMU(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM",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.5388/0.5388, allocations: 78.55 MB / 94.05 MB, free: 3.965 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.001727/0.001727, allocations: 112.8 kB / 113.6 MB, free: 9.879 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.001668/0.001668, allocations: 187.6 kB / 133.3 MB, free: 6.234 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.754/1.754, allocations: 222.9 MB / 375.7 MB, free: 3.863 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.6517/0.6517, allocations: 62.27 MB / 0.495 GB, free: 7.859 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.002213/0.002213, allocations: 124.4 kB / 0.5751 GB, free: 6.539 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4652/0.4675, allocations: 69.5 MB / 0.643 GB, free: 18.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM): time 0.006294/0.4738, allocations: 4.296 MB / 0.6472 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.4759, allocations: 1.243 MB / 0.6484 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002488/0.4762, allocations: 10.03 kB / 0.6484 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003213/0.4765, allocations: 125.5 kB / 0.6485 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004212/0.477, allocations: 243.1 kB / 0.6487 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008728/0.4779, allocations: 0.5364 MB / 0.6493 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006324/0.4785, allocations: 0.8365 MB / 0.6501 GB, free: 12.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002506/0.4788, allocations: 167.9 kB / 0.6502 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003115/0.4791, allocations: 348.5 kB / 0.6506 GB, free: 12.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004421/0.4795, allocations: 446.4 kB / 0.651 GB, free: 11.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.4796, allocations: 68.84 kB / 0.6511 GB, free: 11.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002321/0.4799, allocations: 132.4 kB / 0.6512 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.48, allocations: 171.6 kB / 0.6514 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002292/0.4802, allocations: 352.9 kB / 0.6517 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006225/0.4809, allocations: 0.8289 MB / 0.6525 GB, free: 10.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.4809, allocations: 0 / 0.6525 GB, free: 10.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4809, allocations: 4 kB / 0.6525 GB, free: 10.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.4809, allocations: 1.375 kB / 0.6525 GB, free: 10.82 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.002911/0.4838, allocations: 1.209 MB / 0.6537 GB, free: 9.945 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.4839, allocations: 10.25 kB / 0.6537 GB, free: 9.945 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.84e-05/0.484, allocations: 84.42 kB / 0.6538 GB, free: 9.867 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008967/0.4849, allocations: 184.4 kB / 0.654 GB, free: 9.789 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005348/0.4854, allocations: 496 kB / 0.6544 GB, free: 9.355 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.281e-05/0.4855, allocations: 68.56 kB / 0.6545 GB, free: 9.305 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.261e-05/0.4856, allocations: 49.66 kB / 0.6545 GB, free: 9.285 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008845/0.4865, allocations: 0.5459 MB / 0.6551 GB, free: 8.938 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.4865, allocations: 5.312 kB / 0.6551 GB, free: 8.934 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.622e-05/0.4866, allocations: 16.69 kB / 0.6551 GB, free: 8.922 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.4866, allocations: 17.86 kB / 0.6551 GB, free: 8.914 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008988/0.4875, allocations: 494.1 kB / 0.6556 GB, free: 8.684 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002745/0.4902, allocations: 2.091 MB / 0.6576 GB, free: 6.969 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008896/0.4911, allocations: 0.6318 MB / 0.6582 GB, free: 6.512 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004864/0.4916, allocations: 281.9 kB / 0.6585 GB, free: 6.363 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.473e-05/0.4917, allocations: 15.17 kB / 0.6585 GB, free: 6.355 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.4917, allocations: 41.31 kB / 0.6586 GB, free: 6.309 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.304e-06/0.4917, allocations: 0 / 0.6586 GB, free: 6.309 MB / 446.1 MB Notification: Performance of matching and sorting (n=52): time 0.008092/0.4998, allocations: 2.848 MB / 0.6613 GB, free: 3.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.4999, allocations: 85.55 kB / 0.6614 GB, free: 3.648 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004262/0.5003, allocations: 498.1 kB / 0.6619 GB, free: 3.148 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.5004, allocations: 37.7 kB / 0.6619 GB, free: 3.105 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.5005, allocations: 288.1 kB / 0.6622 GB, free: 2.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.5006, allocations: 185.3 kB / 0.6624 GB, free: 2.637 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.5007, allocations: 90.23 kB / 0.6625 GB, free: 2.543 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.66e-05/0.5008, allocations: 366.7 kB / 0.6628 GB, free: 2.176 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004182/0.5013, allocations: 241 kB / 0.6631 GB, free: 1.941 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000447/0.5017, allocations: 345.1 kB / 0.6634 GB, free: 1.566 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009015/0.5026, allocations: 0.5973 MB / 0.664 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5026, allocations: 7.938 kB / 0.664 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00745/0.5101, allocations: 1.729 MB / 0.6657 GB, free: 15.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.5101, allocations: 12.03 kB / 0.6657 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.5101, allocations: 4 kB / 0.6657 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007064/0.5172, allocations: 1.175 MB / 0.6668 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004726/0.5177, allocations: 107.8 kB / 0.6669 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/0.5288, allocations: 6.257 MB / 0.673 GB, free: 7.352 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006731/0.5295, allocations: 31.97 kB / 0.6731 GB, free: 7.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/0.5296, allocations: 20 kB / 0.6731 GB, free: 7.301 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.0002406/0.5298, allocations: 177.7 kB / 0.6733 GB, free: 7.117 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.53, allocations: 63.19 kB / 0.6733 GB, free: 7.055 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004169/0.5341, allocations: 1.323 MB / 0.6746 GB, free: 5.715 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.5342, allocations: 7.938 kB / 0.6746 GB, free: 5.707 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.5342, allocations: 11.98 kB / 0.6746 GB, free: 5.695 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.5342, allocations: 0 / 0.6746 GB, free: 5.695 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005062/0.5392, allocations: 2.106 MB / 0.6767 GB, free: 3.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.5393, allocations: 4 kB / 0.6767 GB, free: 3.496 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004236/0.5397, allocations: 79.89 kB / 0.6768 GB, free: 3.418 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002503/0.5422, allocations: 0.587 MB / 0.6773 GB, free: 2.824 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-05/0.5423, allocations: 15.92 kB / 0.6774 GB, free: 2.809 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006473/0.5487, allocations: 4.742 MB / 0.682 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.5488, allocations: 3.938 kB / 0.682 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00479/0.5536, allocations: 1.788 MB / 0.6837 GB, free: 11.97 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002328/0.5538, allocations: 132.4 kB / 0.6839 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.129e-05/0.5539, allocations: 12 kB / 0.6839 GB, free: 11.81 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005287/0.5544, allocations: 35.97 kB / 0.6839 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/0.5546, allocations: 68.28 kB / 0.684 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.5547, allocations: 12 kB / 0.684 GB, free: 11.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003881/0.5551, allocations: 358.9 kB / 0.6843 GB, free: 11.35 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5551, allocations: 0 / 0.6843 GB, free: 11.35 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007327/0.5558, allocations: 192 kB / 0.6845 GB, free: 11.16 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.00503/0.5609, allocations: 2.353 MB / 0.6868 GB, free: 8.77 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002229/0.5631, allocations: 0.9119 MB / 0.6877 GB, free: 7.848 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.5631, allocations: 0 / 0.6877 GB, free: 7.848 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.5645, allocations: 0.6796 MB / 0.6884 GB, free: 7.137 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006775/0.5651, allocations: 62.39 kB / 0.6884 GB, free: 7.078 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02081/0.586, allocations: 7.597 MB / 0.6958 GB, free: 15.31 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005354/0.5866, allocations: 0.8794 MB / 0.6967 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003073/0.5869, allocations: 56.36 kB / 0.6968 GB, free: 14.35 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000354/0.5872, allocations: 211.4 kB / 0.697 GB, free: 14.14 MB / 494.1 MB Notification: Performance of SimCode: time 3.095e-06/0.5873, allocations: 0 / 0.697 GB, free: 14.14 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04456/0.6318, allocations: 17.67 MB / 0.7142 GB, free: 12.7 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.96, allocations: 19.41 kB / 0.7142 GB, free: 12.68 MB / 0.4982 GB (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 & python3 -m fmpy simulate --output-file OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM.fmu > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe 2>&1)